Erik Max Francis max at
Tue Oct 15 11:06:30 CEST 2002

joshi campsysindia wrote:

> Iam totally new to python. Iam using python2.2. I have got a file
> with ".py" Iam asked to run the file using this command.
> python -p 8000
> But iam getting syntax error for this command. When i just type python
> Iam getting the error --python not deifned
> Do i need to make any path settings before executing this command.

You need to type the command into your shell or command prompt, not into
the Python interpreter.

 Erik Max Francis / max at /
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ The most exhausting thing in life is being insincere.
\__/ Anne Morrow Lindbergh
    Rules for Buh /
 The official rules to the betting card game, Buh.

More information about the Python-list mailing list