By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,741 Members | 1,296 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,741 IT Pros & Developers. It's quick & easy.

import time sleep [solved]

P: 1
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!
Oct 23 '06 #1
Share this Question
Share on Google+
1 Reply

bvdet
Expert Mod 2.5K+
P: 2,851
Expand|Select|Wrap|Line Numbers
  1. import time
  2. time.sleep (2.0)
Oct 23 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.