|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
chmod(self,
mode)
change the mode of the file |
source code
|
|
|
readlines(self,
strip=True,
commentChar=None,
omitEmptyLines=False,
findValues=[ ] ,
omitValues=[ ] )
read all lines and strip the linebreaks |
source code
|
|
|
readline(self,
strip=False)
read one line (including linebreak) |
source code
|
|
|
writelines(self,
lines)
write all lines in given list, appending linebreaks |
source code
|
|
|
writeline(self,
the_line)
write given line, no linebreak appended |
source code
|
|
|
writetheline(self,
the_line)
write given line with linebreak |
source code
|
|
|
copyFile(self,
outfile,
the_line='
' )
copy file linewise; up to line 'the_line' if given |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|