I'm working with a python library (arcpy) that has a long import time (1-2min) due checks done against a license server. This makes debug sessions extremely slow when I'm re-running code multiple times.
Is there a way I can import the library to python process #1, and keep that process always live, then use that library from python process #2?
Something like:
Script 1 | Script 2 |
---|---|
while True: | from script 1 import arcpy |
import arcpy |
Have not tried approaches as I'm not even sure if something like this is feasible...Is this possible?