Windows command line problem

sp1d3rx at gmail.com sp1d3rx at gmail.com
Thu Aug 4 13:17:34 EDT 2005


Here's an example...
---- BEGIN TEST.PY ----

import sys
print "Original:", sys.argv
for arg in sys.argv:
    arg = arg.strip('-\x93\x96') # add chars here you want to strip
    print "Stripped:", arg

---- END TEST.PY ----




More information about the Python-list mailing list