Referring to ArcGIS help it seems possible to check out advanced desktop license. But typing
arcpy.CheckOutExtension('ArcInfo')
gives
Unrecognized extension code ArcInfo
arcgis-10.2arcgis-desktoparcgis-license-managerarcpy
Referring to ArcGIS help it seems possible to check out advanced desktop license. But typing
arcpy.CheckOutExtension('ArcInfo')
gives
Unrecognized extension code ArcInfo
Best Answer
As the documentation states:
http://resources.arcgis.com/en/help/main/10.2/index.html#/SetProduct/03q30000000v000000/
The script might go something like this: