Jul-17-2018, 11:50 AM
Just write the
self.timestr
in your file, like @buran said.ith open("C:\pytest\stopwatch_test.txt","a") as f: f.write(self.timestr)