Re: String formatting strangeness
*hides face* Groan! This is what I get for trying to code first thing in the morning. Thanks, all, it works fine now... -- http://mail.python.org/mailman/listinfo/python-list
String formatting strangeness
I must be doing something wrong, but for the life of me, I can't figure out what. Here's the code snippet which is giving me grief: print type(number), type(name), type(seconds // 60), type(seconds % 60) print "\t\t\t\n" % [number, name, seconds // 60, seconds % 60] (These are lines 49 and 50 of