I use the Python mesa library for agent based modeling I wanted to know how to find out if modeling calculations are done in Python or in C language tnx
Asked
Active
Viewed 36 times
1 Answers
0
If you want to know how the methods of a module do their work under the hood take a direct or indirect look at the source code of the module. You can use for that purpose a file explorer, a text editor with search in files function or for indirect look for example the Python inspect module.
If the module comes as pure Python code files and you don't need to run a C(++) compiler to install it from source you have a pure Python code driven module.
Check out Finding the source code of methods implemented in C? for some of the how-to details on this subject.

Claudio
- 7,474
- 3
- 18
- 48