python lib and study notes