Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #52664
| References | <mailman.2.1376856608.19984.python-list@python.org> <roy-913E78.16195518082013@news.panix.com> <201308181648.17774.gheskett@wdtv.com> |
|---|---|
| Date | 2013-08-18 22:20 +0100 |
| Subject | Re: Need somebody schmardter than me |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5.1376860817.19984.python-list@python.org> (permalink) |
On Sun, Aug 18, 2013 at 9:48 PM, Gene Heskett <gheskett@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
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Need somebody schmardter than me Gene Heskett <gheskett@wdtv.com> - 2013-08-18 16:09 -0400
Re: Need somebody schmardter than me Roy Smith <roy@panix.com> - 2013-08-18 16:19 -0400
Re: Need somebody schmardter than me Gene Heskett <gheskett@wdtv.com> - 2013-08-18 16:48 -0400
Re: Need somebody schmardter than me Chris Angelico <rosuav@gmail.com> - 2013-08-18 22:20 +0100
Re: Need somebody schmardter than me Gene Heskett <gheskett@wdtv.com> - 2013-08-18 19:33 -0400
csiph-web