Home Python cheatsheet
Python cheatsheet
Cancel

Python cheatsheet

Cheatsheet to get-up-and-running in Python

Minimal package setup

Use pyscaffold to start a project from scratch.

1
2
3
4
5
6
7
8
9
pip install pyscaffold

# using a workspace folder to host the project
mkdir ~/workplace/project_workspace
cd ~/workplace/project_workspace

putup my_project
cd ./my_project

Minimal CLI program