Hi everyone,
I've implemented a scanf-like module in pure Python:
http://hkn.eecs.berkeley.edu/~dyoo/python/scanf/
If you've ever had the itch to do something like:
###
import scanf
(cmd, errors, warnings) = (
scanf.sscanf("/usr/sbin/sendmail - 0 errors, 4 warnings",
"%s - %d errors, %d warnings"))
###
I hope this helps!