. Python 2.1 function attributes

Jay O'Connor joconnor at cybermesa.com
Wed Feb 7 18:03:55 EST 2001

Greg Ewing wrote:
> Toby Dickenson wrote:
> >
> > The real problem (IMO) with file.write("formatting"%(data)) is that
> > the expressions that build up the data are out of line with the static
> > content. Its harder for the programmer to visualize the bigger picture
> > of his output,
> It seems that different people may see this differently,
> since I often find it easier to visualise the output
> when using a format string. When the output items are
> interleaved with string literals, I find the result
> is often a confusing clutter of commas and quotes,
> especially when there are commas in the string
> literals as well.

FWIW - I find 'printf()' style formatting string easier to write but
harder to reaf

Jay O'Connor
joconnor at cybermesa.com

Python Language Discussion Forum -

More information about the Python-list mailing list