Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #52664

Re: Need somebody schmardter than me

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.101
X-Spam-Level *
X-Spam-Evidence '*H*': 0.81; '*S*': 0.01; 'executable': 0.09; 'fine.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'import': 0.22; 'aug': 0.22; 'script.': 0.24; 'decide': 0.24; 'header:In-Reply-To:1': 0.27; "doesn't": 0.30; 'statement': 0.30; 'message-id:@mail.gmail.com': 0.30; 'received:google.com': 0.35; 'add': 0.35; "i'll": 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'course': 0.61; 'happen': 0.63; 'subject:Need': 0.64; 'other.': 0.75; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=IOdgyaoVF0VL5HPL4OLByOmnwmiaMdl9qrGvCyrVbKA=; b=HC5KmtpO5tYC00s4UoLarhvmZJtAuLyoRCMuI5BO71XbZ9rbCQ62H22WmL1w/y0QVe 6hlqpTIUD1jWZNFop/MH7dj5teCBleGW1koGc20aExkDt8pSU1vjhmAaKmHgezI7DMw6 ZF2n0rMjzJIgjKcfVNc8vAVRGAj3989JxX8xBNJrklJqdEZD3fwP/G+M+/CxdtpPk0Qr hOQRp/QAMoGkPlo3j4UKutfalZjncXZJB0Fwf9qEpqUlE2aOzj4CmZNPUIBbwcihuJDU Dskbi17qSAQ7tSxaPfa2w4cr5P+CuBIMINRAYSwztZRqlW2CxgP+2sjZFl+g5jhtabrn pJPg==
MIME-Version 1.0
X-Received by 10.220.88.13 with SMTP id y13mr2435366vcl.20.1376860813460; Sun, 18 Aug 2013 14:20:13 -0700 (PDT)
In-Reply-To <201308181648.17774.gheskett@wdtv.com>
References <mailman.2.1376856608.19984.python-list@python.org> <roy-913E78.16195518082013@news.panix.com> <201308181648.17774.gheskett@wdtv.com>
Date Sun, 18 Aug 2013 22:20:13 +0100
Subject Re: Need somebody schmardter than me
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.5.1376860817.19984.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1376860817 news.xs4all.nl 15901 [2001:888:2000:d::a6]:60916
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:52664

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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