[WARNING: Work in Progress]
A rustlings inspired python hands on coding journey
- Clone this repository
- Install dependencies
# Navigate to repo
cd learnpy
# Create a virtual environment
python -m venv .venv
source .venv/bin/activate
# Install requirements
pip install -e .- Start coding!
learn-py start- Go to any exercise under
exercisesand start coding as instructed. Start with0000_intro.pyto understand all the features!
NOTE: You can only run learn-py from the learnpy directory.
# Create a venv
uv venv
# Activate venv
source .venv/bin/activate
# Install deps
uv pip install -e .
# Install dev deps
uv pip install -r requirements-dev.txt
# Run
learn-py startpytest tests/