--- John Ridley <[EMAIL PROTECTED]> blurted:
> I suppose the simplest thing to do would be to write an empty string
> to the file:
> 
> >>> f = open('tmpfile.txt', 'w')
> >>> f.write('')
> >>> f.close()   # or f.flush(), if keeping open

Apologies - this is, of course, nonsense.

Time for me to hit the sack, I think...


John Ridley

Send instant messages to your online friends http://uk.messenger.yahoo.com 
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to