I've been developing a complex python toolbox to optimize user workflow. The python script (.pyt) is written based off the toolbox template and used arcpy for multiple geoprocessing tasks. I want the end product to be a EXE file - so that users can run it out of process without opening ArcGIS Pro.
is it possible to compile Python scripts that import the arcpy module and that call ArcToolBox tools?
It is possible to publish slpk or hosted feature layers using python without opening ArcGIS Pro?
You can import your Python toolbox and use it in a different, standalone script.
You can certainly fashion a .bat file that calls python tool.pyt arg1 ... argN, but it can't be a .exe executable.
- V