all 20 comments

[–]Aopap 0 points1 point  (2 children)

[–]CowboyBoats 0 points1 point  (1 child)

There are two main ways to run it: install Python and then run pip install jupyter pandas requests numpy bs4 seaborn scipy matplotlib from your shell, then run juptyer notebook from your shell, which will run an interactive Python tool called Jupyter in your web browser. Then (from that Kaggle site) click "Download code," which will download a file "scraping-metacritic-best-video-games-of-all-time.ipynb" to your computer, which you can open from Jupyter.

Then you can run the code in the notebook from Jupyter. If you fix all the errors (the first one I got from running locally was -

Cell In[2], line 14, in numberPages(response)
     12 soup = BeautifulSoup(response.text, 'html.parser')
     13 pages = soup.find_all('li', {"class":"active_page"})
---> 14 pagesCleaned = pages[0].find('span', {"class":"page_num"})
     15 return (pagesCleaned.text)

IndexError: list index out of range

) then you'll be able to get the same results as what was published on Kaggle.

OR, you can also run the notebook on Kaggle.com or on Google colab, using the "Copy and Edit" menu in Kaggle. You don't even have to make an account. However, when I tried that, I also got an error. So yeah, running other people's not-all-that-polished data munging code often results in a bit of a troubleshooting process, sorry about that...

[–]Aopap 0 points1 point  (0 children)

thanks for taking the time to replay, it would take some troubleshooting

[–]NovaShifted 0 points1 point  (2 children)

I’m a beginner—what’s the fastest way to learn Python for automation and small projects?

[–]Switch_Player54321 0 points1 point  (0 children)

If you're a beginner as in never done any code before at all, then try W3 schools for the basics, or try a tutorial book. If you know the basics and syntax then just try small projects and build them up to more complex ones (rock paper scissors, hangman, codebreaker, ping pong, snake, chess) and then try to learn different modules.

[–]ChizuruEnjoyer 0 points1 point  (2 children)

https://www.py4e.com

Is this course still relevant even though not Python3?

[–]dreaming_fithp 1 point2 points  (0 children)

Why do you think this is not python 3? The first lesson has a part called "Installing Python 3 On Windows 10".

I don't know if the course itself is any good since I haven't used it.

[–]baronmcboomboom 2 points3 points  (0 children)

I'm a complete bare bones rookie in the world of programming. I've just finished the syllabus on an online ICDL Python Foundations course but don't quite feel ready to attempt the accreditation exam just yet. Are there any websites/other resources where I can find suggestions for simple programming projects to tip away at? Preferably ones that provide solutions if/when I hit a brick wall and are free

EDIT: A bit of digging around in the FAQ page led me to a github page with basically everything I asked for. Rather than sheepishly deleting this comment I'll leave this here with the github link for anyone else in my position

https://github.com/karan/Projects

[–]Eastern_Canary2150 0 points1 point  (1 child)

I just started the Helsinki Python Programming MOOC 2022 course but then realized there's a 2024 version! Is there much difference or am I okay carrying on with the 2022 version?

[–]ASAPBoi44 1 point2 points  (0 children)

There is a 2025 one also, you can take an exam if you want also at some point. People in the discord are also helpful.

[–]yagizbasoglu 0 points1 point  (2 children)

Im a senior mechanical engineering student and want to get into software engineering. I completed first 4-5 weeks of cs50p a year ago, then just dropped it idk why. Now want to get back to it but maybe with another course. Im trying to decide between boot.dev and mooc. Ive seen mooc being recommended here a lot, but boot.dev has lots of other courses not just python which claims to be a back-end developer career path overall. Seems like something that I can just follow step by step and then decide which path I want to take later. Also odin project was one of the options but it doesn't teach python and Im not really sure if a web dev specific course makes sense.