sscanf ?

Erik Max Francis max at alcyone.com
Tue Nov 20 14:21:02 EST 2001


Bruce Edge wrote:

> OK, that works for this case, I was looking for something more
> generic.

There is no scanf-like parsing service in Python.  Which is fine, since
scanf has problems.  If you want general parsing, you should use regular
expressions; that's what they're there for.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ Laws are silent in time of war.
\__/ Cicero
    Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
 An Esperanto reference for English speakers.



More information about the Python-list mailing list