Is there a way to detect which version a Python toolbox is saved in? I want to double check a Python toolbox is readable by ArcGIS 10.1 or later without opening and resaving the toolbox in old format.
I would be happy with a magic string sequence I could find opening the tbx file as binary from Python. Thanks!
Yes I know .pyt is less version dependent -- one the selling points!
have you tried an arcpy.ImportToolbox within a try-except block?