scanf in python
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Sat Jul 26 19:43:09 EDT 2008
In message <4889ae4a$0$3726$426a74cc at news.free.fr>, AMD wrote:
>> In message <4884e77a$0$29405$426a74cc at news.free.fr>, AMD wrote:
>>
>>> Actually it is quite common, it is used for processing of files not for
>>> reading parameters. You can use it whenever you need to read a simple
>>> csv file or fixed format file which contains many lines with several
>>> fields per line.
>>
>> I do that all the time, in Python and C++, but I've never felt the need
>> for a scanf-type function.
>
> I agree scanf is not a must have function but rather a nice to have
> function.
I've never felt that scanf would be "nice" to have. Not in Python, not in
C++.
More information about the Python-list
mailing list