What I Learned Today in Python

Counters

Python has a "batteries included" philosophy that means a lot of useful things are included in their standard library. By no means have I plumbed the depth of what's included. I still run across things that are extremely useful and fit exactly what I need.

Today I encountered the …

more ...

Requirements.txt

Python Requirements.txt File

This is easily found elsewhere on the web, but I did it wrong the first time. So, note to self!

The command to create a requirements.txt file is:

$ pip freeze > requirements.txt

The catch is... first, navigate to the folder where you want the file …

more ...