ABM simulation is one of the most important methods in the research of complex system, and the existing ABM modelinglanguage has limitations. Mesa is an ABM simulation framework with Python development. It not only has the advantages of tradi-tional ABM simulation tools, but also can make full use of Python's powerful functions in data statistical analysis, mining and visual-ization. This paper shows the powerful functions of mesa through examples, which provides a new choice and entry way for ABMsimulation research.