I am new to python, working by way through 'Core Python Programming'. I can find no description of using print with the built-in type for formatting. I think I have got some [most?] of it from Chun, google, and python.org. My comment is - it should not be that hard to find. I would suggest a link from the print syntax section.

What is seems to be is:

  print "format-spec" % (variable-list)

I assume the '%' is required token.



_____
Douglas Denault
http://www.safeport.com
d...@safeport.com
Voice: 301-217-9220
  Fax: 301-217-9277
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to