What I learned today

Work

I learned how to use pyinstaller to convert a python application to a binary file. As easy as:

pyinstaller entrypoint.py -F

To produce a self-contained binary file on the dist subfolder from where you called the command.

I learned about mpl3d, a library that convert Pandas matplotlib base plots into beautiful, d3.js based plots. To use mpl3d on an iPython notebook, a single line of code is necessary:

mpl3d.enable_notebook()

Life

  • I learned that if you are a US resident that is married to a US citizen, the residency period to apply for citicenship is 3 years instead of 5.