file objects choices?

Grant Edwards grante at
Tue Mar 18 20:07:46 CET 2003

In article <mailman.1047931167.5356.python-list at>, 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
                                 GO-GO BOOTS!!

More information about the Python-list mailing list