Before you start, make sure you have the following installed and running:
- Download the project and go to code folder or copy the code folder's content and paste it in a .py file.
- Run the following command, replacing
*
with the day number:python3 day_*.py
- Download the project:
git clone https://github.com/khabib97/python-zero-to-zero.git cd python-zero-to-zero
or, download the zip file and extract it.
-
Enable virtual environment:
python3 -m venv .venv source .venv/bin/activate
-
Install dependencies: It will install all the dependencies from
requirements.txt
file.pip install -r requirements.txt
-
Run the project: To run a specific day's code, run the following command, replacing
*
with the day number:python3 code/day_*.py