Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

makepyshell

Generate a nix-shell file for Python development.

Gist

Usage (Auto-Generated)

usage: makepyshell [-h] [--nix-path NIX_PATH]
                   [--modules MODULES [MODULES ...]]

Generate a nix-shell file (shell.nix) for Python 3.9 development.

options:
  -h, --help            show this help message and exit
  --nix-path NIX_PATH   Nix source path. (default: nixpkgs)
  --modules MODULES [MODULES ...]
                        Python modules for development. (default: [])