Help with modules

This is the place for queries that don't fit in any of the other categories.

Help with modules

Postby TTOO » Thu Feb 06, 2014 8:53 pm

Code: Select all
import time;
print "Mystle"
name = raw_input("Input the name you want your character to have.")

so im trying to make a game, and i imported the module time (which includes the sleep function) and after i try to use the sleep function "time.sleep(3)" and when i run it it says it doesnt recongnize the sleep module
not the best coder :/
Last edited by stranac on Thu Feb 06, 2014 9:09 pm, edited 1 time in total.
Reason: First post lock.
Posts: 1
Joined: Thu Feb 06, 2014 8:48 pm

Re: Help with modules

Postby stranac » Thu Feb 06, 2014 9:11 pm

Can you post the exact error message you get?
It doesn't change anything, but that semicolon in the import line is unnecessary.
Friendship is magic!

R.I.P. Tracy M. You will be missed.
User avatar
Posts: 1790
Joined: Thu Feb 07, 2013 3:42 pm

Return to General Coding Help

Who is online

Users browsing this forum: No registered users and 12 guests