Link Details

Link 78162 thumbnail
User 225135 avatar

By skoop
via mikenaberezny.com
Submitted: Apr 28 2008 / 15:04

Python has a nice module in the standard library called shlex that parses strings as a Unix shell would. It’s useful for creating your own mini-languages or external DSLs that need to parse quoted strings like the one shown above.
  • 4
  • 0
  • 110
  • 11

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (4)



Voters Against This Link (0)