Example #1
0
 def write_Qlist(self):
     text = Scraper.getQlist()
     if not os.path.isfile(self.path() + 'resources\qlist.txt'):
         with open(self.path() + 'resources\qlist.txt', 'w') as f:
             f.write(text)
     else:
         print 'qlist.txt already downloaded'