help with lists and writing to file in correct order

Steven D'Aprano steve at REMOVETHIScyber.com.au
Wed Dec 28 04:43:06 EST 2005


On Tue, 27 Dec 2005 20:11:59 -0800, homepricemaps wrote:

> hey steven-your examlpe was very helpful. is there a paragraph symbolg
> missing in
> 
> fp.write("Food = %s, store = %s, price = %s\n" % triplet

No, but there is a closing bracket missing:

fp.write("Food = %s, store = %s, price = %s\n" % triplet)


-- 
Steven.




More information about the Python-list mailing list