Günther Dietrich a écrit : > > RTFM! :) > > In the python 2.5 manual: Chapter 4.2.6 (search pattern 'scanf' on the > index tab of python25.chm)
Correct !! For once ;) the Manual gives an inambiguous answer : ---------------------- Simulating scanf() .-- Python does not currently have an equivalent to scanf(). Regular expressions are generally more powerful, though also more verbose, than scanf() format strings. ---------------------- I'm realizing that using re module is worthwhile but I never tried to learn it. -- http://mail.python.org/mailman/listinfo/python-list