Package SCons :: Module dblite :: Class dblite
[hide private]
[frames] | no frames]

Class dblite

source code

Instance Methods [hide private]
 
_open(name, mode=..., buffering=...)
Open a file using the file() type, returns a file object.
 
_cPickle_dump(obj, file, protocol=0)
Write an object in pickle format to the given file.
 
_os_chmod(path, mode)
Change the access permissions of a file.
 
_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
 
_time_time()
Return the current time in seconds since the Epoch.
 
__init__(self, file_base_name, flag, mode) source code
 
__del__(self) source code
 
sync(self) source code
 
_check_writable(self) source code
 
__getitem__(self, key) source code
 
__setitem__(self, key, value) source code
 
keys(self) source code
 
has_key(self, key) source code
 
__contains__(self, key) source code
 
iterkeys(self) source code
 
__iter__(self) source code
 
__len__(self) source code
Method Details [hide private]

_open(name, mode=..., buffering=...)

 
Open a file using the file() type, returns a file object.

Returns:
file object

_cPickle_dump(obj, file, protocol=0)

 
Write an object in pickle format to the given file.

See the Pickler docstring for the meaning of optional argument proto.

_time_time()

 
Return the current time in seconds since the Epoch.
Fractions of a second may be present if the system clock provides them.

Returns:
floating point number