Wikipedia is a little more helpful but not Python oriented: http://en.wikipedia.org/wiki/Printf#printf_format_placeholders
Alan Gauld Author of the Learn To Program website http://www.alan-g.me.uk/ ----- Original Message ---- > From: Richard D. Moores <rdmoo...@gmail.com> > To: ALAN GAULD <alan.ga...@btinternet.com> > Cc: tutor@python.org > Sent: Monday, 19 July, 2010 18:07:47 > Subject: Re: [Tutor] A file containing a string of 1 billion random digits. > > On Mon, Jul 19, 2010 at 09:58, ALAN GAULD < > ymailto="mailto:alan.ga...@btinternet.com" > href="mailto:alan.ga...@btinternet.com">alan.ga...@btinternet.com> > wrote: > Heres what I did: > Search Google for "Python format > strings" and from the first link click > on String Formatting operations > in the contents pane: > > > href="http://docs.python.org/library/stdtypes.html#string-formatting-operations" > > target=_blank > >http://docs.python.org/library/stdtypes.html#string-formatting-operations > > > Read item number 4. "4. Minimum field width (optional). If specified as > an '*' (asterisk), the actual width is read from the next element of the > tuple in values, and the object to convert comes after the minimum field > width and optional precision." Now that just screams for about a dozen > well-designed illustrative examples, don't you think? Thanks, > Alan. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor