[python-win32] Quick Question

Jim Vickroy Jim.Vickroy at noaa.gov
Wed Apr 23 11:35:50 EDT 2003


Look at the time module, in the standard Python distribution, and the sleep() function in particular to see if that meets your needs.

KKGOLFER at aol.com wrote:

> I guess because I am new and not a programmer, I don't know the right term for this, so I haven't had any luck looking it up in the books I have.....
>
> What I want to do is to build in a delay for a few (maybe 10-20) seconds, while I go to another program and paste something......
>
> Here's the suggestion I got, but so far, I don't see it working.
>
> "for i in range(1, 25):
>     amsgui.Yield()"
>
> The only other option I can think of is to add an alert (using an API for the software package I am using Python with).....but I really don't want to add any more keystrokes than I already have.......
>
> Thank you very much for your suggestions.
>
> Karol
>
> _______________________________________________
> Python-win32 mailing list
> Python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32




More information about the Python-win32 mailing list