r/Python • • Aug 28 '20

Beginner Showcase This post has

3829 upvotes,

572 downvotes,

297 comments,

3257 score,

and 3 awards!

Edits: 23526 since Friday, August 28, 2020 at 8:30PM EST.

Credit to u/Krukerfluk and Tom Scott!

Code: https://github.com/CalvinMiller190/reddit-post

This post uses the praw module to get the information about the post, then edits the post every second based on the information that it got!

3.4k Upvotes

276 comments sorted by

View all comments

Show parent comments

1

u/[deleted] Aug 28 '20

? it seems pretty exact

0

u/theangryfatguy Aug 28 '20

1

u/[deleted] Aug 28 '20

not really, 370 was the score, it's upvotes - downvotes. its not perfect though.

1

u/theangryfatguy Aug 28 '20

Maybe I'm missing something, but upvotes - downvotes would be 504-134, which is 370. The post had 366, and even refreshing it now it seems to still be off by a few. Any idea what the max +/- would be?

1

u/[deleted] Aug 28 '20

well praw is not exact, its just pretty close. but it works really well