import time sleep [solved]

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • HLA91
    New Member
    • Oct 2006
    • 1

    #1

    import time sleep [solved]

    Hi

    i got this code to halt my script for a specified number of seconds of a friend of mine.

    import time.sleep (2.0)

    But when i run it it says " invalid Syntax" and highlights the left hand bracket in red.

    Any ideas on how to correct this.
    Thanks

    HLA91
    STAY COOL AND DONT GET STRESSED!
  • bvdet
    Recognized Expert Specialist
    • Oct 2006
    • 2851

    #2
    Code:
    import time
    time.sleep (2.0)

    Comment

    Working...