Iterate through dictionary of file objects and file names

jfj jfj at freemail.gr
Sun Feb 13 06:21:03 EST 2005


Brian Beck wrote:
>         print "Closed: %s" % fileName

Call me a pedant, but what'd wrong with:

     print 'closed: ' + filename
or
     print 'closed:', filename

?

Modulus operator good but don't over-use it. Otherwise, bad style.


jfj





More information about the Python-list mailing list