Python CSV Module Oddity

A Python Oddity I was using Python to encode a CSV file using a custom dialect recently when I noticed something odd. I noticed that the csv writer class takes an optional argument that enables you to change the line terminator.  That's ok, however, the csv reader class does not…

SSLError with Python 3.6.x on macOS Sierra

SSLError Have you ran into trouble with SSLErrors after upgrading to Python 3.6 on macOS Sierra?  For me, my first encounter was downloading the bokeh sample data (included here). Python 3.6.0 (v3.6.0:41df79263a11, Dec 22 2016, 17:23:13) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits"…

Pip Installs From Github

Pip installs From github Installing a package from github is fairly simple.  The following are examples of installing packages from github. # Install repo package from the url, master branch pip3 install git+https://github.com/username/repo.git @ Install repo from the specified branch pip3 install git+https://github.com/username/repo.git@branch # Install repo from the specified commit.…