read() on tempfile

Batista, Facundo FBatista at uniFON.com.ar
Thu Jan 29 13:46:20 EST 2004


cherico at bonbon.net wrote:

#- f = NamedTemporaryFile ()
#- f = write ( 'test' )
#- print f.read () #here print nothing

Never used it, but are you sure it's not:

	f.write('test')

Regards,

.	Facundo




More information about the Python-list mailing list