Thank you for your varied and detailed answer. Item #3 was the most intriguing as eventually I want to create a form for a user interface. It also led to a surprising discovery: the DoEvents will make the print statement do what I wanted.
That is, this will work:
import clr
import time
clr.AddReference('System')
import System
for i in range(1, 20):
print i
System.Windows.Forms.Application.DoEvents() # Keep form responsive
time.sleep(1)
I am I right in guessing that DoEvents will effect all forms currently open in Windows? If so, is there a way to get it to do only RPS's window?
Michelle