Formatted input function
candide
candide at free.invalid
Sat Sep 5 16:47:21 EDT 2009
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.
More information about the Python-list
mailing list