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