RE: Example of Steemit Analysis by Using Python #Tutorial-1
Thank you for the contribution. It has been approved.
Please consider this:
as you can see, I'm the author of the
Learn Python Series
(as well as a Utopian mod & Advisor),therefore I think I'm in the position to properly judge the quality of this tutorial,
I've had quite some doubts if I would approve or rejct this tutorial, and as you can see, in the end I decided to approve it, but barely,
there are quite some things missing and other aspects that could be improved, such as:
your English spelling & grammar could use a few improvements;
the PyCharm Professional IDE is not open source (minor issue). You could have easily discussed in a few steps PyCharm Community Edition (which is),
you forgot to explain to the user they first need to (
pip
) install both requests and beautifulsoup4 before they are able to import it: you are (probably) not using a virtual environment, meaning you've installed them at an earlier date. But users who have not installed them, or are using a new virtual environment per project, would get errors and can therefore not complete the tutorial;you haven't explained what
requests
is (= a simple HTTP library for Python), or whatbeautifulsoup4
is (an HTML parsing library),your tutorial title is mis-leading somewhat: you are explaining - in essence - how to use requests to fetch a web page, and beautifulsoup4 to parse the html using "jQuery-like" DOM-selectors, which can be used on any html web page, and thus has nothing to do with "analyzing steemit". Further, you're not analyzing anything, only parsing some DOM-elements and assigning them to variables;
you are not properly explaining any of the bs4 methods (why use
find_all('a')
for example? I know, but others don't. Are there other methods they can use?)you are only printing the data you've fetched from the webpage. The minimum you could have done is wrap a more modular function around some bs4 code and return useful data from it.
Anyway, you are hereby strongly encouraged to seriously upgrade the quality of your next Python tutorials.
You can contact us on Discord.
[utopian-moderator]
Hey @scipio, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!
Thanks for your encouragement. We will try to explain the issues according to yout comments in the next tutorial. Also we are very happy and appreciate to see such a serious comments from you. We are newbie among you but we will improve ourselves and our posts, be sure.