Spotfire IronPython Development

I installed IronPython ver 2.0.2 which i believe to be the same version available in our instance of Spotfire.  I am using PyCharm as my IDE and was hoping to pick up the Spotfire libraries by using the below code:


import sys

directory = 'C:\\Program Files (x86)\\TIBCO\\Spotfire\\6.5.0\\Modules\\Core_14.1003.10311.2861'

sys.path.append(directory)

import clr

clr.AddReference('Spotfire.Dxp.Data')

from Spotfire.Dxp.Data import *


But this gets me an error: IOError: Could not add reference to assembly Spotfire.Dxp.Data

I was hoping for an enviroment to write code where I can tab complete and see all the available methods and attributes like I can when using Python.  Has anyone been able to use PyCharm with IronPython and Spotfire libraries???  Or is this just not possible?

Thanks,

Nick

(1) Answer

Login