Python

Virtual environments in Python

In Python, a virtual environment is way of isolating a working copy of Python to test software or to install new packages without affecting existing packages. virtualenv is a tool used to create isolated Python environments. virtualenv is a useful tool for creating sandboxes or for installing packages locally without system administrator access and also …

Virtual environments in Python Read More »

Debugging Python Code

The Python programs I have written from the time I started learning Python up to now are very simple scripts. I still consider myself a beginner, but I have started to write not so simple code that is usually very brittle and buggy. I have a Github repo of scripts that automate common tasks on …

Debugging Python Code Read More »

A Summary of PEP 8: Style Guide for Python Code and PEP 257: Docstring Conventions.

Most programming languages follow a basic style or formatting standard to make it easy for others to read your code. In Python, we have the PEP 8 and the PEP 257 conventions. PEP stands for “Python Enhancement Proposal”. “PEP 8: Style Guide for Python Code” and “PEP 257: Docstring Conventions” are documents that contain conventions …

A Summary of PEP 8: Style Guide for Python Code and PEP 257: Docstring Conventions. Read More »