Categories
Linux Python

SnapCraft + Python

On 7-2-20 I gave a talk at the Akron Linux User’s Group on Snapcraft basics. Here is the repo: https://github.com/shawnmcgraw/get-weather Here are the notes: Snapcraft Basics ALUG 7-2-20 Build a snap package from a small Python module, creating a simple command line weather application Presented by Shawn McGraw Meta What is a┬ásnap Snapd – runs […]

Categories
Programming Python TIL

Classes in Python

TIL About Classes in Python and Object Oriented Programming Classes provide a means of bundling data and functionality together. Creating a new class creates a new type of object, allowing new instances of that type to be made. Each class instance can have attributes attached to it for maintaining its state. Class instances can also […]

Categories
Programming Python

Python Virtual Environments

Because I always forget the syntax for venv in Python. A link to the Python docs: https://docs.python.org/3/tutorial/venv.html Create the virtual environment: Activate it: Your terminal will show the name of the venv in parenthesis: