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