Reverse string-formatting (maybe?)
Dan Sommers
me at privacy.net
Sun Oct 15 09:39:18 EDT 2006
On 14 Oct 2006 05:35:02 -0700,
"Dustan" <DustanGroups at gmail.com> wrote:
> Is there any builtin function or module with a function similar to my
> made-up, not-written deformat function as follows? I can't imagine it
> would be too easy to write, but possible...
[ snip ]
> Any input? I've looked through the documentation of the string module
> and re module, did a search of the documentation and a search of this
> group, and come up empty-handed.
Track down pyscanf. (Google is your friend, but I can't find any sort
of licensing/copyright information, and the web addresses in the source
code aren't available, so I hesitate to post my ancient copy.)
HTH,
Dan
--
Dan Sommers
<http://www.tombstonezero.net/dan/>
"I wish people would die in alphabetical order." -- My wife, the genealogist
More information about the Python-list
mailing list