tuple to string/list

Batista, Facundo FBatista at uniFON.com.ar
Thu Aug 21 16:21:40 EDT 2003


#- > Any easy way of obtaing this output?
#- 
#-      f.write( "Hits for %s: %d" % (month[i], teller[i]) )

You need the end of line:

	f.write( "Hits for %s: %d \n" % (month[i], teller[i]) )

Otherwise it'll be very ugly, :)

.	Facundo





More information about the Python-list mailing list