Script

Micromine 2020 comes bundled with a minimal version of Python 3.8. It enables the user to run basic Python scripts and to use the Micromine 2020 Python framework. Advanced users may want to install extra Python modules to increase the power and the flexibility of scripting. This will require a complete install of the offical Python distribution. Micromine will scan the computer at start-up and will use the installed Python distribution if it is available and is compatible with the application.

Note that Micromine does not guarantee compatibility with all external python modules as they may not be suitable to be used within the Micromine embedded python framework.

The following code will print all the search paths that Python will use to locate the modules it needs (if you are using the Micromine Python environment, the path will be <MICROMINE_INSTALL_FOLDER>/python/lib):

print(sys.path)

The following page explains how to install the complete Python distribution and suggests some extra Python modules:

http://extras.micromine.com.au/ProductMicromineService/PythonScriptingMM2020.asp