Jump to content

Running Python executable from Spotfire


Lewis Ainslie

Recommended Posts

Hi there,

You can call executables from IronPython such as Python. However, a better method would be to use the native Python data function in Spotfire (as of version 10.7), or the Spotfire Custom Python Data Function which works in version 7 and 10.

Both of these allow you to pass data to Python and back into Spotfire in a seamless manner much like you can with R, TERR, Matlab etc.

Here are some links:

https://community.spotfire.com/wiki/python-data-functions-tibco-spotfire

https://community.spotfire.com/wiki/python-data-function-tibco-spotfire

https://community.spotfire.com/modules/Custom-Data-Function-for-TIBCO-Spotfire-to-Execute-Python-Code

Once set up, you can use pip to install packages as normal and then just copy and paste your script into a data function.

 

Hope this helps

Colin

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...