Re: Get the complete command line as-is

2007-09-12 Thread wangzq
On Sep 12, 3:20 pm, Laurent Pointal <[EMAIL PROTECTED]> wrote: > wangzq a écrit : > > > Hello, > > > I'm passing command line parameters to my browser, I need to pass the > > complete command line as-is, for example: > > > test.py "abc def&

Get the complete command line as-is

2007-09-11 Thread wangzq
Hello, I'm passing command line parameters to my browser, I need to pass the complete command line as-is, for example: test.py "abc def" xyz If I use ' '.join(sys.argv[1:]), then the double quotes around "abc def" is gone, but I need to pass the complete command line ("abc def" xyz) to the brows