summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
09d1716)
This feels like it's asking for trouble. Description of the contents
of the list is in the filename.
t_Out = f"{outputPath}dailyviews{queryDate}.tsv"
with open(articleFile, 'r') as infile:
t_Out = f"{outputPath}dailyviews{queryDate}.tsv"
with open(articleFile, 'r') as infile:
- next(infile) #skip header
articleList = list(infile)
j = []
articleList = list(infile)
j = []
#3 Saves the list to a file
with open(outputFile, 'w') as f:
#3 Saves the list to a file
with open(outputFile, 'w') as f:
f.write('\n'.join(articleNames)+'\n')
logging.debug(f"Finished scrape and made a new article file at {datetime.datetime.now()}")
f.write('\n'.join(articleNames)+'\n')
logging.debug(f"Finished scrape and made a new article file at {datetime.datetime.now()}")