Merge branch 'dataCleaning2' into 'master'
Data Cleaning See merge request radical_coder/communistquotes!2
This commit is contained in:
commit
ad3e7b1cb5
2 changed files with 704 additions and 704 deletions
|
@ -39,5 +39,5 @@ with open('marxistquotes.csv') as csvfile:
|
||||||
csvreader = csv.reader(csvfile, delimiter=',', quotechar='`', skipinitialspace=True)
|
csvreader = csv.reader(csvfile, delimiter=',', quotechar='`', skipinitialspace=True)
|
||||||
row = random.choice(list(csvreader))
|
row = random.choice(list(csvreader))
|
||||||
|
|
||||||
text = '<p>{}</p> - {}<a href={}>{}</a>'.format(row[0], row[1], row[2], row[3])
|
text = '<p>{}</p> - {}, <a href={}>{}</a>'.format(row[0], row[1], row[2], row[3])
|
||||||
toot = mastodon_api.status_post(text, visibility='public', content_type='text/html')
|
toot = mastodon_api.status_post(text, visibility='public', content_type='text/html')
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue