Viewing a response to: @steemtux/re-makerhacks-how-readable-are-your-articles-let-s-find-out-with-python-20180224t144112501z
Yes, it would make it easier actually, you would just read the text file into a string: ``` with open('Path/to/file', 'r') as content_file: test_string = content_file.read() ```
author | makerhacks |
---|---|
permlink | re-steemtux-re-makerhacks-how-readable-are-your-articles-let-s-find-out-with-python-20180224t201846774z |
category | python |
json_metadata | {"tags":["python"],"app":"steemit/0.1"} |
created | 2018-02-24 20:18:45 |
last_update | 2018-02-24 20:19:00 |
depth | 2 |
children | 2 |
last_payout | 2018-03-03 20:18:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 182 |
author_reputation | 156,977,359,570,955 |
root_title | "How readable are your articles? Let's find out with Python!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 40,174,340 |
net_rshares | 0 |
Here is the code for this https://gist.github.com/omiq/e3722435dd9cb3b719f33f3970edda4b
author | makerhacks |
---|---|
permlink | re-makerhacks-re-steemtux-re-makerhacks-how-readable-are-your-articles-let-s-find-out-with-python-20180224t202411077z |
category | python |
json_metadata | {"tags":["python"],"links":["https://gist.github.com/omiq/e3722435dd9cb3b719f33f3970edda4b"],"app":"steemit/0.1"} |
created | 2018-02-24 20:24:12 |
last_update | 2018-02-24 20:24:12 |
depth | 3 |
children | 0 |
last_payout | 2018-03-03 20:24:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 87 |
author_reputation | 156,977,359,570,955 |
root_title | "How readable are your articles? Let's find out with Python!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 40,175,187 |
net_rshares | 0 |
Thank you for your reply, much appreciated! My python foo isn't very strong, but I'll give it a go and try out. Would be cool to have the ability to test it locally before publishing, just for fun.
author | steemtux |
---|---|
permlink | re-makerhacks-re-steemtux-re-makerhacks-how-readable-are-your-articles-let-s-find-out-with-python-20180224t202211162z |
category | python |
json_metadata | {"tags":["python"],"app":"steemit/0.1"} |
created | 2018-02-24 20:22:12 |
last_update | 2018-02-24 20:22:12 |
depth | 3 |
children | 0 |
last_payout | 2018-03-03 20:22:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 197 |
author_reputation | 170,129,148,681 |
root_title | "How readable are your articles? Let's find out with Python!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 40,174,887 |
net_rshares | 2,385,846,008 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
makerhacks | 0 | 2,385,846,008 | 7% |