Write a web scraper from scratch and using free AI options
This is the code for the O'Reilly Live Training - Python Beyond the Basics (AI edition) presented by Arianne Dee
Before the class, please follow these instructions:
Go to https://www.python.org/downloads/
Click the yellow button at the top to download the latest version of Python (Mac) or Python install manager (Windows).
On Linux, use your distribution's package manager to install Python3.
Follow the prompts and install using the default settings.
As of Python 3.14, the Python install manager is the default way to install Python on Windows.
There are many options to go through. See this page for more help. Once you get to "Install CPython now?", enter "Y" to install the latest version of Python.
An IDE is the program that you write code in. In this class, I will be use PyCharm but will also demo Cursor.
PyCharm download: https://www.jetbrains.com/pycharm/download/
VS Code download: https://code.visualstudio.com/
Cursor download: https://cursor.com/
They all have free AI options, but benefit from a paid plan.
Clone the repository.
git clone https://github.com/ariannedee/python-beyond-basics.git
- Click the "Code" (green) button at the top-right of the page
- Click "Download ZIP"
- Unzip it and move the python-beyond-basics-main folder to a convenient location
Open your IDE and load the course files.
Run the file python-beyond-basics/examples/example_1_review.py and make sure it runs properly.
If you get an error running that file, follow the instructions here to configure your Python version:
Download the PDF of the slides from the Resources widget.