Skip to content

Latest commit

 

History

History
67 lines (49 loc) · 1.22 KB

README.md

File metadata and controls

67 lines (49 loc) · 1.22 KB

Description

Fully automated quizzes and tasks, carefully designed in accordance with the great "Python for Everybody" book.


Installation

Update the software.

sudo apt update && sudo apt upgrade -y

Install python and pip (python package manager).

sudo apt install python3.12 python3-pip

Install virtualenv (python environments manager).

pip3 install virtualenv && source ~/.profile

Clone this repository and cd into it.

git clone https://github.com/mrguseinov/py4e.git && cd py4e

Create a new virtual environment and activate it.

virtualenv .venv && source .venv/bin/activate

Install the required packages.

pip install -r requirements.txt

Usage

Activate the virtual environment if it's not active.

source .venv/bin/activate

Start the jupyter lab.

jupyter lab

Notes For WSL & SSH Users

More info in the Jupyter Notebook Docs.

Create a config file:

jupyter notebook --generate-config

Disable launching browser by redirect file:

c.NotebookApp.use_redirect_file = False