You are viewing a single comment's thread from:
RE: How readable are your articles? Let's find out with Python!
Interesting read. Thanks for sharing this.
Question: Would it be possible to alter the code so that I could do this on a local document instead of a url?
Yes, it would make it easier actually, you would just read the text file into a string:
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.
Here is the code for this https://gist.github.com/omiq/e3722435dd9cb3b719f33f3970edda4b