Home | Trees | Indices | Help |
---|
|
object --+ | ConfFile
|
|||
|
__init__(self,
path) x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
||
|
clear(self) Clear all informations |
||
|
reset(self) Reset state of the ini parser |
||
|
exists(self) Test if the file exists |
||
|
isChanged(self) Check if the data was changed |
||
|
read(self) Open encrypted file at 'path' and parse its data |
||
|
create(self) Create a new file using default values |
||
|
write(self) Write data to file The write method uses the savest way possible. |
||
|
_parseEncFile(self,
fd_name) Read and parse file (fd or file name) |
||
|
_parseString(self,
s) Parse string with file contents |
||
|
_parserDoneHook(self) Hook called after the data is read and parsed |
||
|
_writeString(self) Create a string with new file contents |
||
|
_writeEncFile(self,
fd_name) Write file (fd or file name) |
||
|
_get(self,
name) get descriptor helper |
||
|
_set(self,
name,
value) set descriptor helper |
||
|
_getp(self,
name) get descriptor helper for % sliders |
||
|
_setp(self,
name,
value) set descriptor helper for % sliders |
||
| _setboolint(self, name, value) | ||
Inherited from |
|
|||
|
_options = {}
|
||
|
_defaults = {}
|
||
|
_filename = None helper for pickle |
|
|||
Inherited from |
|
|
|
Reset state of the ini parser Copies file data to new data |
|
|
|
|
Write data to file The write method uses the savest way possible. The old file is backed up, the new data is written to another file and at last the original file is replaced with the new file. WINDOWS ------- os.rename() can't replace the file in place under Windows. The final operation is not atomic. :( |
|
|
|
|
|
|
|
get descriptor helper for % sliders The slider must have values between 0 and 100 |
|
|
|
_optionsNone
|
_defaultsNone
|
_filenamehelper for pickle
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0alpha3 on Sun Feb 4 17:00:21 2007 | http://epydoc.sourceforge.net |