Python is removing my quotes!

Robert Dailey rcdailey at gmail.com
Tue Aug 21 12:00:24 EDT 2007


Hi,

Note: I'm using Python on Windows

I have an application that allows a user to submit a password as a command
line parameter. The password of choice may contain any characters the user
wishes, including quotes. If I do the following:

python password.py "9999"MyPassword

The resulting output when I print this inside the script is:

9999MyPassword

Notice how the quotations have been stripped. Is it DOS doing this, or
Python? Is there a way I can fix it?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070821/75bf28ed/attachment.html>


More information about the Python-list mailing list