is there any lib can split string in this way?

Leo Jay python.leojay at gmail.com
Mon Jan 9 00:59:44 EST 2006


I want to split a string like this:
'abc  def  "this is a test"  ok'
into:
['abc', 'def', 'this is a test', 'ok']

is there any lib meet my need?

thanks

--
Best Regards,
Leo Jay



More information about the Python-list mailing list