|
|
|
|
|
__init__(self,
name)
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__ ,
__subclasshook__
|
|
|
|
|
|
|
|
__str__(self)
Generates a string from the contents in memory Used to be called
makeString |
source code
|
|
|
getValueDict(self)
Get a dictionary with the values with the decorators removed |
source code
|
|
|
|
|
restore(self)
if a backup-copy was made the file is restored from this |
source code
|
|
|
baseName(self)
Returns the basic file name (without .gz) |
source code
|
|
|
|
|
|
|
encode(self,
txt)
Encode a string to byte if necessary (for Python3) |
source code
|
|
|
|
|
goMatch(self,
l,
exp,
out=None,
stop=None)
Read lines until a regular expression is matched |
source code
|
|
|
goTo(self,
l,
s,
out=None,
echoLast=False,
stop=None)
Read lines until a token is found |
source code
|
|
|
|
|
|
|
|
|
readFile(self)
read the whole File into memory |
source code
|
|
|
realName(self)
The full filename with appended .gz (if zipped) |
source code
|
|
|
writeEncoded(self,
out,
txt)
Convert the text to 'bytes' is we encounter a zipped file |
source code
|
|
|
|
|
|
|
copyfile(self,
src,
dst)
Encapsulates the shutil copyfile and provides an alternative for old
Python-version |
source code
|
|
|
copytree(self,
src,
dst,
symlinks=False)
Encapsulates the shutil copytree and provides an alternative for old
Python-version |
source code
|
|
|
|
|
find(self,
pattern,
path,
directoriesToo=True)
Find all files whose names match |
source code
|
|
|
listDirectory(self,
d)
Lists the files in a directory, but excludes certain names and files
with certain endings |
source code
|
|
|
remove(self,
f)
Remove a file if it exists. |
source code
|
|
|
rmtree(self,
path,
ignore_errors=False)
Encapsulates the shutil rmtree and provides an alternative for old
Python-version |
source code
|
|
|
|
|
|