Sergey wrote:
> Which module to use to do such thing:
>
> "-a -b -c '1 2 3'" -> ["-a", "-b", "-c", "'1 2 3'"]
>
> (i have string, need to pass it to getopt)
seems like CSV except that the seperator is space. You may check to see
if the CSV module can take space as delimiter.

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

Reply via email to