What is File-like Object?

Will Ware wware at world.std.com
Fri Sep 1 00:39:55 EDT 2000


jun won, Seo (linuxqna at chollian.net) wrote:
> What is File-like Object?

It's an object that behaves like a file. That is to say,
it implements the methods a file would normally have, such as
read(), readline(), readlines(), write(), flush(), and so forth.
You can find out more about files and their methods in the Python
Tutorial at http://www.python.org/doc/current/tut/tut.html
The part about files is section 7.2.
-- 
# - - - - - - - - - - - - - - - - - - - - - - - -
# Resistance is futile. Capacitance is efficacious.
# Will Ware	email:    wware @ world.std.com



More information about the Python-list mailing list