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

2009-07-29 Thread Duncan Booth
Bill wrote: > On my windows box I type => c:\x>python -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

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:\x>python -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 pyth

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:\x>python -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 P

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

2009-07-28 Thread Bill
On my windows box I type => c:\x>python -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. -- http://mail.python.org/mai