"max baseman" <[EMAIL PROTECTED]> wrote

> quick question how would i clear a text document?

A bit of context? If its a file you just open the file for writing.

If its a list of strings in memory

text = []

will clear it...

If its a GUI text widget it will depend on which framework you are 
using.

Alan G 


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to