Bill <bsag...@gmail.com> 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.
Why are you reading documentation for Python 1.5? There have been just a few releases since then. Try reading http://docs.python.org/using/cmdline.html instead, specifically the part about the -i command line option. Or you could just try "python -?" at a command prompt. -- Duncan Booth http://kupuguy.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list