search for a string?

David Broadwell (remove spam.) "dbroadwell" at spam.mindspring.com
Thu Jun 1 18:19:03 EDT 2000


> 
>     OldString = File.read() + OldString
> 
>     I perfer, though: OldString = "%s %s" % (File.read(),OldString)
> 
The second once certianly looks more .. programmer. Now which is more
efficent? (faced with to apparenly equal choices) and why?



More information about the Python-list mailing list