A file object.
|
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
|
|
a new object with type S, a subtype of T
|
|
int
|
close()
Returns:
on success, < 0 on error |
|
|
tuple
|
fstat()
Returns:
fstat information |
|
|
|
lseek(offset,
whence=0)
Returns:
on success, current offset location, othwerwise -1 |
|
|
the next value, or raise StopIteration
|
|
string
|
read(size)
Returns:
read data |
|
|
|
seek(offset,
whence=0)
Returns:
on success, current offset location, othwerwise -1 |
|
|
int
|
write(buf)
Returns:
size of written |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|