I downloaded the complete install for windows. I installed it then opened up the manual and done as it said. I opened a notepad and typed"import direct.directbase.DirectStart run() and I saved it as tut.py. I have tried to double click it and it opens a box opens and closes in a blink. I have tried going to the command prompt and typing "ppython tut.py and it comes back saying no such file. I have even tried to save it to my desktop then from the command prompt cd to desktop and typed ppython tut.py and yet again it comes back saying no such file.I dont’ know what else to do so any help would be much appreciated.
Well if you say you did as the wiki said, then
Maybe your file is saved as tut.py.txt and not tut.py?
Windows by default hides your file extensions (.mp3, .mpg, .txt) so if your file is “tut.py” on the Desktop then its really “tut.py.txt”
i recommend running the python file from the command console. because if you encounter a error the window will allways close immediately, not showing the specific error you have. alternatively there are ide’s that help developing. another possibility is to use a run.bat file that runs the python script file: