> Try
>
> tfile.write(str(i)+'\n')
>
> OR
>
> tfile.write( "d\n" % i)
Alan meant tfile.write("%d\n" % i) of course ;)
-Luke_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
