Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.08 KB

INSTALLATION.md

File metadata and controls

41 lines (32 loc) · 1.08 KB

Pre-requisites

Before you start, make sure you have the following installed and running:

  • python: Python 3.6 or higher
  • pip: Python package manager

How to run the project

Easy way

  1. Download the project and go to code folder or copy the code folder's content and paste it in a .py file.
  2. Run the following command, replacing * with the day number:
    python3 day_*.py

Hard way

  1. 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.

  1. Enable virtual environment:

    python3 -m venv .venv
    source .venv/bin/activate
  2. Install dependencies: It will install all the dependencies from requirements.txt file.

    pip install -r requirements.txt
  3. Run the project: To run a specific day's code, run the following command, replacing * with the day number:

    python3 code/day_*.py