Lines Matching refs:filename
77 def file(self, filename):
78 return joinpath(self.dir, filename)
93 def hasfile(self, filename):
94 return os.path.isfile(self.file(filename))
96 def echofile(self, filename, string):
97 filename = self.file(filename)
99 f = file(filename, 'w')
106 def rmfile(self, filename):
107 filename = self.file(filename)
108 if os.path.isfile(filename):
109 os.unlink(filename)
111 def readval(self, filename):
112 filename = self.file(filename)
113 f = file(filename, 'r')
119 filename = self.file('.status')
121 f = file(filename, 'a')
129 filename = self.file('.status')
131 f = file(filename, 'r')