string conversion and formatters

John Hunter jdhunter at nitace.bsd.uchicago.edu
Fri Dec 7 14:25:16 EST 2001


>>>>> "Spiffy" == Spiffy  <clams17 at yahoo.com> writes:

    Spiffy> does anyone know where the list of output formatters (
    Spiffy> such as %d, %s, etc.) is in the reference material?  I
    Spiffy> know I have seen this list, but I cannot find it. 

Since this is basically derived from the C function sprintf formatting
specifications, your best bet is the man pages for sprintf.  Since you
are on Windows and presumably can't type 'man sprintf', follow the
link below to a web based man page

  http://www.cgi101.com/class/ch16/envman.cgi?sprintf

Not light reading, but comprehensive.

JDH



More information about the Python-list mailing list