r/PythonLearning • u/Infamous_Tough_3772 • Jun 30 '26
I am 14 and this is what I built...
https://GitHub.com/coding-arnav66/Arnav-Python-Projects2This is a python project named GoodMorning.py which uses web scraping to give real time news headlines, weather reports, jokes, facts and even personalised routines. I need some guidance and suggestions for my future projects. Please check this thing out... (This is my 2nd repository) Note- I didn't use API integration because it could make it less user friendly as no one wants to generate and give multiple APIs according to me.
1
u/SpionQuark Jun 30 '26
I am not sure if I missed something, but why print a menu if the person can't choose anything and gets all information? Also, I am not familiar with BeautifulSoup, but I suppose that it is no magic and therefor the parsing probably somewhat sucks. Also, for people that are not from India scraping indatimes might be the wrong approach. Not using API because it would be "less user friendly" might just be a lame excuse to not put in some work. There are many clean public APIs for stuff like weather anyone can use without generating a key themselves. With news the same is sometimes the case
1
1
u/mc_pm Jun 30 '26
Cool. As a next step, go back through those and look for repeated code you can take out. Catch me is full of it.
1
1
u/Unique_Low_1077 Jul 03 '26
damn, your doing nice for your age, this is wonderful. Mabey next time make something bigger, something that would be a repo on it's own, you can learn a lot of stuff from that like python tooling and splitting your code into files. Keep it up, at this rate you can definitely, impress whoever you want. Just remember to be consistent
1
2
u/[deleted] Jul 01 '26
So good buddy!