Having trouble starting it up..

I downloaded Panda3D, make a text file with

from direct.showbase.ShowBase import ShowBase
 
class MyApp(ShowBase):
 
    def __init__(self):
        ShowBase.__init__(self)
 
app = MyApp()
app.run()

saved it as helloworld.ppy on the desktop,

ran this in command prompt: ppython helloworld.py

Yet nothing happened. “Cannot find file”

Am I not navigating the command prompt to the desktop or something or other?

Thanks.

Yup, you should change the directory to your desktop

cd c:\Documents and Settings\username\Desktop

or something like that.
Note that you can just create a text file with a .bat extension and write

ppython file.py

in it. When you’ll click it, it will run your game.
Or you can create an exe file.
Or if you use an IDE like Geany, you can execute your script by pressing F5 or something. It will also create a .bat file in that directory for you.

Did you navigate to the desktop with your command Prompt?

In windows you do that like this:

cd [path]

eg.

cd C:\Users\%username%\Desktop

%username% is you username

Edit: Lol, you were faster