Need somebody schmardter than me

Chris Angelico rosuav at gmail.com
Sun Aug 18 17:20:13 EDT 2013


On Sun, Aug 18, 2013 at 9:48 PM, Gene Heskett <gheskett at wdtv.com> wrote:
>> import time
>
> That of course goes near the top of the script.
>
>> time.sleep(1.5)
>
> I'll see if I can see a sensible place to add this one.

The import doesn't have to happen near the top of the script; it's an
executable statement like any other. If you want to keep it near the
time.sleep() call, that'll work fine. It's up to you to decide what
goes where.

ChrisA



More information about the Python-list mailing list