SyntaxError: invalid syntax

Well… it went like this:

(I opened Command Prompt)
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\Documents and Settings\Duke1>cd C:\Panda3D-1.0.5\Dj1\

C:\Panda3D-1.0.5\Dj1>ppython
Python 2.2.3 (#42, May 30 2003, 18:12:08) [MSC 32 bit (Intel)] on win32
Type “help”, “copyright”, “credits” or “license” for more information.

ppython test.py
File “”, line 1
ppython test.py
^
SyntaxError: invalid syntax

(a couple more points:)

*All test.py contains is the directstart stuff and (run)
*I’ve followed the instructions on different guides to doing this.
*The program is installed properly(i used to know how to open these windows)

What am i doing wrong this time?

Righto. I’ll try my best to help. From looking at the error log, it seems to me that you’ve created a folder called ‘Dj1’ in your Panda-1.0.5 directory (this is good). So to point the command prompt to the Dj1 folder you typed:


cd C:\Panda3D-1.0.5\Dj1\ 

Which was right. You then pressed Enter, which brought up the following:


C:\Panda3D-1.0.5\Dj1>

This too was right. But then it looks like you just typed ‘ppython’ and pressed Enter again. That’s where I think you went wrong. You should have typed the full:


ppython test.py

Then pressed Enter. This should then have run your script and started Panda.

Of course, I could be reading it wrong, so let me know :unamused:

Cheers

Thanx!