Trivial changes

This commit is contained in:
Eddie 2017-10-23 13:37:14 -05:00
parent 3fa3611dfc
commit 72c4cdd489
2 changed files with 14 additions and 3 deletions

11
infBack.py Normal file
View File

@ -0,0 +1,11 @@
import yaml
rawDat = open('rss_univ.txt', 'r')
strDat = rawDat.read()
rawDat = strDat.split(';\n')
# rawDat = yaml.load(rawDat[0])
print(rawDat[0])

View File

@ -10,11 +10,11 @@ def get_data_rss():
file = open('rss_univ.txt', 'a') file = open('rss_univ.txt', 'a')
file.write(str(datCnn.headers['Date']) + ';\n') # file.write(str(datCnn.headers['Date']) + ';\n')
file.write(str(datCnn) + ';\n') file.write(str(datCnn) + ';\n')
file.write(str(datUniver.headers['Date']) + ';\n') # file.write(str(datUniver.headers['Date']) + ';\n')
file.write(str(datUniver) + ';\n') file.write(str(datUniver) + ';\n')
file.write(str(datJorn.headers['Date']) + ';\n') # file.write(str(datJorn.headers['Date']) + ';\n')
file.write(str(datJorn) + ';\n') file.write(str(datJorn) + ';\n')
file.close() file.close()