file objects choices?
grante at visi.com
Tue Mar 18 20:07:46 CET 2003
In article <mailman.1047931167.5356.python-list at python.org>, e y suzuki wrote:
> are there any existing python file i/o types that can be represented
> by file objects other than:
> -direct files (regular, directories) specified for the open function
> -stdin, stdout, stderr streams via sys module
> -input from piped commands of output from program executed by os/
> another program
s = socket.socket(...)
f = s.makefile('r+b')
Grant Edwards grante Yow! If this was a SWEDISH
at MOVIE, I'd take off your
visi.com GO-GO BOOTS!!
More information about the Python-list