Run once while loop

Discussion in 'Python' started by Anatoli Hristov, Apr 3, 2012.

  1. Hi,

    I'm trying to do a while loop with condition of time if time is
    12:00:00 print text, but for this one second the text is printed at
    least 50 times, how can I print only once?

    Thank

    Anatoli
     
    Anatoli Hristov, Apr 3, 2012
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. mike
    Replies:
    2
    Views:
    443
    Gordon Beaton
    Sep 8, 2004
  2. Steven

    while loop in a while loop

    Steven, Mar 24, 2005, in forum: Java
    Replies:
    5
    Views:
    2,498
    Tim Slattery
    Mar 30, 2005
  3. Daniel Pitts
    Replies:
    14
    Views:
    1,510
    Patricia Shanahan
    Dec 23, 2006
  4. Uday Bidkar
    Replies:
    4
    Views:
    727
    =?ISO-8859-15?Q?Juli=E1n?= Albo
    Dec 12, 2006
  5. Tinku
    Replies:
    5
    Views:
    589
    Chris Dollin
    Jun 10, 2008
  6. Roedy Green
    Replies:
    3
    Views:
    642
    Mike Schilling
    Sep 13, 2008
  7. Replies:
    1
    Views:
    259
    Bob Barrows [MVP]
    Jul 19, 2006
  8. Isaac Won
    Replies:
    9
    Views:
    776
    Ulrich Eckhardt
    Mar 4, 2013
Loading...