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