Things about python

Good book for learning Python

This book is good for people who wants to:

  1. learn basic computer science (because it focues on data structure)

  2. learn python foundamentals

https://runestone.academy/runestone/books/published/pythonds/index.html

Some books directly start with pandas or scikit-learn. This is not one of those books.

Coding style

http://oucsace.cs.ohio.edu/~chelberg/classes/361/style-guide.html

Follow the guidelines from Dr. Chelberg. Eventhough it is a guideline for C++, the general rules stay the same. Specially how you should document the code.

download hidden files given url

https://stackoverflow.com/questions/46197760/python-how-can-i-download-data-from-the-webpage-where-the-link-is-hidden-by-the/46198849

Python font

https://gree2.github.io/python/2015/04/27/python-change-matplotlib-font-on-mac

“Deleting fontlist-v310.json fixed the issue”

https://github.com/matplotlib/matplotlib/issues/13810

matplotlib.rcParams[‘font.sans-serif’] = [‘Helvetica’] matplotlib.rcParams[‘axes.unicode_minus’] = False plt.rc(‘font’, family=’Helvetica’)

http://fowlerlab.org/2019/01/03/changing-the-sans-serif-font-to-helvetica/

code @ github.