So, just out of curiosity, how many other people didn't realise you could do this:
>>> print '%(language)s has %(number)03d quote types.' % \ ... {"language": "Python", "number": 2} Instead of this: print "%s has %03d" % ( "python", "2" ) 6 years of python development, and I never found this little beauty. Fail. Hope this helps someone else. Cal -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.