What can be done when the hot programming language Python is usedas a tool for macroeconomic data analysis? In this paper, while writingcode in Python, we explain the estimation of consumption functions asan example, discuss what advantages there are in analyzing economicdata using Python, and also discuss the possibilities and directions ofmacroeconomic data analysis in the future.