Help with Hello World Tutorial

I have tried to do the “Hello World Tutorial” located here -

I have entered the code correctly and saved the script in the .py format. To do so I typed “” 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 “” 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
python: can't open file '': [Errno 2] No such file or directory

C:\Documents and Settings\Will>

Help would be appreciated , thanks.

like the errors says. it simply cant find your file.
either the filename is not correct. or you are in the wrong directory.



in your terminal to get a list of files contained in the directory.
you can also use the commands

cd ..

to get to the parent directory and

cd directoryname

to change into a directory.

good luck on finding your file :slight_smile:

I followed your instructions and it turns out I was in the wrong directory. :slight_smile:

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. :slight_smile: