Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #33574 > unrolled thread
| Started by | Tim Chase <python.list@tim.thechases.com> |
|---|---|
| First post | 2012-11-19 19:20 -0600 |
| Last post | 2012-11-19 19:20 -0600 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Splitting a line while keeping quoted items together Tim Chase <python.list@tim.thechases.com> - 2012-11-19 19:20 -0600
| From | Tim Chase <python.list@tim.thechases.com> |
|---|---|
| Date | 2012-11-19 19:20 -0600 |
| Subject | Re: Splitting a line while keeping quoted items together |
| Message-ID | <mailman.25.1353374371.29569.python-list@python.org> |
>> Use the "shlex" module in the std lib? > > Well color me ignorant. > > Works cleanly. I shouldn't have reinvented the wheel. I've experienced this enough: the csv module, option parsing, config-file parsing, logging, timeit, and pwd all come to mind as code I've written before realizing the stdlib already has it. Now, if my task sounds remotely like something that somebody else might have implemented already, my first stop is always to browse through the stdlib docs. Then try http://pypi.python.org/pypi to see if somebody else has already solved the problem without the solution getting into the stdlib. Only then do I proceed to trying to code up something of my own. -tkc
Back to top | Article view | comp.lang.python
csiph-web