Python Paste


FileLengthWrapper

Wraps a file-like object that has a fixed length, returning '' after the object has been exhausted.

Files are read-only


Methods

f __init__(self, file, length) ...

f read(self, size=None) ...

f close(self) ...

f tell(self) ...

See the source for more information.