I have a list of strings (sys.argv actually).  I want to print them as a
space-delimited string (actually, the same way they went into the command
line, so I can cut and paste)

So if I run my program like:
./my_prog a b c d

I want it to print:

'./my_prog' 'a' 'b' 'c' 'd'

Just print sys.argv will almost work, but it's comma-delimited.

There must be some clever way to do this.  Any ideas?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to