Squirrel away references to the functions in various modules
that we'll use when our __del__() method calls our sync() method
during shutdown. We might get destroyed when Python is in the midst
of tearing down the different modules we import in an essentially
arbitrary order, and some of the various modules's global attributes
may already be wiped out from under us.
file object
|
_open(name,
mode=...,
buffering=...)
Open a file using the file() type, returns a file object. This is the
preferred way to open a file. See file.__doc__ for further information. |
|
|
|
_os_chmod(path,
mode)
Change the access permissions of a file. |
|
|
|
_os_chown(path,
uid,
gid)
Change the owner and group id of path to the numeric uid and gid. |
|
|
|
_os_rename(old,
new)
Rename a file or directory. |
|
|
|
_os_unlink(path)
Remove a file (same as remove(path)). |
|
|
|
_shutil_copyfile(src,
dst)
Copy data from src to dst |
|
|
floating point number
|
_time_time()
Return the current time in seconds since the Epoch.
Fractions of a second may be present if the system clock provides them. |
|
|
|
__init__(self,
file_base_name,
flag,
mode)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|