Re: Need help in passing a -c command argument to the interactive shell.

2009-07-29 Thread Duncan Booth
Bill bsag...@gmail.com wrote: On my windows box I type = c:\xpython -c import re The result is = c:\x In other words, the Python interactive shell doesn't even open. What am I doing wrong? I did RTFM at http://www.python.org/doc/1.5.2p2/tut/node4.html on argument passing, but to no

Re: Need help in passing a -c command argument to the interactive shell.

2009-07-28 Thread Philip Semanchuk
On Jul 28, 2009, at 4:16 PM, Bill wrote: On my windows box I type = c:\xpython -c import re The result is = c:\x In other words, the Python interactive shell doesn't even open. What am I doing wrong? Nothing! =) The -c option tells Python to execute the commands in the quotes as a Python

Re: Need help in passing a -c command argument to the interactive shell.

2009-07-28 Thread Mark Lawrence
Bill wrote: On my windows box I type = c:\xpython -c import re The result is = c:\x In other words, the Python interactive shell doesn't even open. What am I doing wrong? I did RTFM at http://www.python.org/doc/1.5.2p2/tut/node4.html on argument passing, but to no avail. You've told python to