Lines Matching refs:filename
79 def file(self, filename):
80 return joinpath(self.dir, filename)
95 def hasfile(self, filename):
96 return os.path.isfile(self.file(filename))
98 def echofile(self, filename, string):
99 filename = self.file(filename)
101 f = file(filename, 'w')
108 def rmfile(self, filename):
109 filename = self.file(filename)
110 if os.path.isfile(filename):
111 os.unlink(filename)
113 def readval(self, filename):
114 filename = self.file(filename)
115 f = file(filename, 'r')
121 filename = self.file('.status')
123 f = file(filename, 'a')
131 filename = self.file('.status')
133 f = file(filename, 'r')