Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

import arcinfo/SetProduct

$
0
0
Hi,

I often use:

Code:

import arcinfo
import arcpy

in my Python IDE (see http://resources.arcgis.com/en/help/...0000009000000/) to save mucking about switching licenses and firing up new sessions of ArcGIS Desktop, but would like to force the return of a floating ARC/INFO license without closing down my Python IDE.

I've tired importing the module as part of a function and this affects the scope of the imports but still hangs on to an ARC/INFO license.

It would be great if there was something like:

Code:

arcpy.CheckInProduct("ArcInfo")
Any ideas?

Thanks,

Matt

Viewing all articles
Browse latest Browse all 2485

Trending Articles