epogrebnyak / lamr

Python course at command line.
https://epogrebnyak.github.io/lamr/
1 stars 2 forks source link
command-line command-line-tool course excercise learn learning-by-doing python

lamr

package pytest replit

lamr is a content manager to organise and display markdown files and run Python code snippets.

It is a collection of resources and code exercises to get you gradually started with Python projects.

lamr works at the command line and as a website.

Documentation

https://epogrebnyak.github.io/lamr/readme/

Quickstart

pip install lamr
lamr --help

Learn about variable assignment: =, := or <-?

lamr learn variables

Make an ASCII art logo

>>> lamr show logo.py --all
>>> lamr run logo.py
Sample font: slant
Sample text: Python 3
ASCII art:
    ____             __     __                           _____
   / __ \   __  __  / /_   / /_   ____    ____          |__  /
  / /_/ /  / / / / / __/  / __ \ / __ \  / __ \          /_ <
 / ____/  / /_/ / / /_   / / / // /_/ / / / / /        ___/ /
/_/       \__, /  \__/  /_/ /_/ \____/ /_/ /_/        /____/
         /____/

Development

Check out separate Development section:

>>> lamr about --dev