Thanks! So a file will only take a numeric as a string? Lesson learned.
Again, thanks. Ken Amit Sethi wrote:
It is as the Error says a type error , the function takes a string and u are passing an intif you put file.write(str(number)) you will not get error ..
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor