I have entered the code correctly and saved the script in the .py format. To do so I typed “filename.py” when I saved the script. ( I’m pretty confident that’s how you save the script as a .py file?)
I am using PyPE 2.8.8 as my IDE
When I go to run the program in the command prompt I get this error and I do not know what I am doing wrong … I have the script “filename.py” saved in a folder in my Panda3D folder.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Will>python filename.py
python: can't open file 'filename.py': [Errno 2] No such file or directory
C:\Documents and Settings\Will>
I followed your instructions and it turns out I was in the wrong directory.
Heh , I’m new to programming and only have messed around with C++ a little. Now I’m trying Python and Panda3D , so I’m new to using the command prompt to do things.
Thank you very much for helping me with my problem. It is very much appreciated.