|
Im trying to learn python(2.5.4) and am just beginning programming. Ive been following along with some newb material but when doing certain exercises involving importing modules I get this error in the IDLE :
Traceback (most recent call last):
File "<pyshell#46>", line 1, in <module>
import test_temp
File "C:\Python25\test_temp.py", line 1
Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] on win32
^
SyntaxError: invalid syntax
I can import other items that come with python such as math and the nose modules, but anything I make isnt going through, where could I be messing up? Its looking like Im not doing it right but cant figure out what exactly. I have the modules Im making saved in the default directory.
|