I sometimes encounter problems like TypeError: unhashable type: 'list'
while programming. Therefore, I decide to set aside some time to undertand the important Python concepts, mutable, hashable and iterable.
Month: 三月 2016
Build a Windows executable from Python scripts on Linux
My main development platform is Ubuntu. The cross-compilation feature is removed from PyInstaller since 1.5
. In this article, I’ll show you how to package a Windows executable from Python scripts using PyInstaller under wine.
Read and write Excel files with Python
I would like to do statistical analysis on an Excel file. Rather than learn a new programming language VBA (Visual Basic for Applications), I would rather work with Excel files in Python. This post shows how to read and write Excel files with Python.
NumPy Application Notes: Basic Usage
I learn of NumPy while seeking one way to read a text file effectively. Therefore, I decide to put some notes here for convenient access.
Calculate minimum dominating sets
This blog takes notes of dominating sets and shows how to calculate its value with the Python package, NetworkX.
直观理解虚数i
再次读了《Math, Better Explained: Learn to Unlock Your Math Intuition》虚数部分,这次做点笔记。