Merge branch 'dataCleaning2' into 'master'

Data Cleaning

See merge request radical_coder/communistquotes!2
This commit is contained in:
radical coder 2019-09-17 13:58:41 -07:00
commit ad3e7b1cb5
2 changed files with 704 additions and 704 deletions

View file

@ -39,5 +39,5 @@ with open('marxistquotes.csv') as csvfile:
csvreader = csv.reader(csvfile, delimiter=',', quotechar='`', skipinitialspace=True)
row = random.choice(list(csvreader))
text = '<p>{}</p>&nbsp;&nbsp;&nbsp;&nbsp;- {}<a href={}>{}</a>'.format(row[0], row[1], row[2], row[3])
text = '<p>{}</p>&nbsp;&nbsp;&nbsp;&nbsp;- {}, <a href={}>{}</a>'.format(row[0], row[1], row[2], row[3])
toot = mastodon_api.status_post(text, visibility='public', content_type='text/html')

File diff suppressed because it is too large Load diff