There's more to experience when you log in!
If a startup.py file is found executed in the global scope setup. Similar to the way startup.wor is found.
Getting Started With PythonAlso available via the MapInfo Marketplace is an app called 'PythonQuickStart' which has some sample code and some reference information on getting started with Python in Pro. Right now it is available but does not have the amount of samples we would like. We will be improving it and updating it in the near future.A Quick Example Python Script
From what I understood, you want to control MapInfo Pro from Python Application running out of process from MapInfo Pro.For doing the same you can get hold of MapInfo Pro COM object and then use the Do and Eval methods on the COM interface to execute/evaluate MapBasic. I think it would be similar to was done with OLE Automation in Visual Basic Application.To get this working you can install pywin32 module in MapInfo Pro Python installation by going to Python37 folder in MapInfo Pro installation directory and than double click on prompt.bat.This will open up command prompt and install pywin32 using "python -m pip install pywin32".Now, below code will give you access to MapInfo Pro COM object.import win32com.client
The SMART tool is also called the 'Showings Program' as it's used merely to bring on the locations associated with 1 or many showings in a contract – to read an output file from the Location Charting application to map out those specific locations in Mapinfo.