469,955 Members | 2,457 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,955 developers. It's quick & easy.

import time sleep [solved]

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
1 8539
bvdet
2,851 Expert Mod 2GB
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.

Similar topics

7 posts views Thread by Colin Brown | last post: by
3 posts views Thread by muttu2244 | last post: by
33 posts views Thread by ram.ragu | last post: by
10 posts views Thread by atlkhan | last post: by
1 post views Thread by NiranjanaDatta | last post: by
9 posts views Thread by rsoh.woodhouse | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.