"Luke Paireepinart" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > >> Try >> >> tfile.write(str(i)+'\n') >> >> OR >> >> tfile.write( "d\n" % i) > Alan meant tfile.write("%d\n" % i) of course ;)
Which is why we should always include the list on replies! Thanks for catching that one Luke Alan G. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor