When I type "python" it displays:
ActivePython 2.6.5.14 (ActiveState Software Inc.)
based on Python 2.6.5 (r265:79063, Jul 4 2010, 21:05:58)
[MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
This is what I get at the command line:
>>> python create-application.py
File "<stdin>", line 1
python create-application.py
^ SyntaxError: invalid syntax
What should I do to work in Qooxdoo.
Apparently you are confusing between the Python REPL and the command line. You should be calling
python create-application.py
from the command line ("cmd" in Windows) and not from the REPL (which is what you get when you typepython
on the command line).I suggest reading up on the basics before venturing further. Good Luck.
You need to run the command
python create-application.py
from the command line, not from within the interpreter.You have already started the Python interpreter, probably by typing
python
at the command line. (You can tell, because the>>>
prompt is a Python standard.) This is a program that accepts Python code -- butpython create-application.py
isn't Python code, it's a system command. You run those from the command line.I assume you're not planning to use Python to program (just to run this script) but if you are, I recommend Dive Into Python for a tutorial.