help

Erik Max Francis max at alcyone.com
Tue Oct 15 05:06:30 EDT 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 tcpwatch.py -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 alcyone.com / http://www.alcyone.com/max/
 __ 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 / http://www.alcyone.com/max/projects/cards/buh.html
 The official rules to the betting card game, Buh.



More information about the Python-list mailing list