SHARE
TWEET

Untitled

a guest Feb 17th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # New code: Define global
  2. windowText = 'some text'
  3.  
  4.  
  5. def customDraw(hWindow):
  6.     global windowText
  7.     time.sleep(1.0)
  8.     windowText = 'Something new1'
  9.     windowText = 'Something new2'
  10.     windowText = 'Something new3'
  11.     windowText = 'Something new4'
  12.     windowText = 'Something new5'
  13.     win32gui.RedrawWindow(hWindow, None, None, win32con.RDW_INVALIDATE | win32con.RDW_ERASE)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top