I am trying to figure out how to run the first program in the tutorial.
It says that I am supposed to:
"create a text file and save it with the .py extension. PYPE and IDLE are Python-specific text-editors, but any text editor will work. Enter the following text into your Python file:
import direct.directbase.DirectStart
run()
To run your program, type this at the command prompt:
ppython filename.py"
So where am I supposed to put this text file?
Which command prompt am I supposed to run this at?
I installed python, and then installed panda3d, taking the default everything.
I have WinXP
So where am I supposed to put this text file?
For example, you could put it here:
C:\ChickenTastesGood\MyProgram.py
But really, anywhere. Much like you can put a word processing document in any folder, you can put a panda program in any folder.
Which command prompt am I supposed to run this at?
Command prompt is a program included with Windows. On my computer, you’ll find it in:
Start Menu–>Accessories–>Command Prompt
This program pops up a prompt, where you can type commands. To run your program, you’d type the command to switch to the appropriate folder, then type the ppython command:
C:\Windows> cd \ChickenTastesGood
C:\ChickenTastesGood> ppython MyProgram.py