Lewis Ainslie Posted January 23, 2020 Share Posted January 23, 2020 Hi, I've got an external python program which performs some tasks which IronPython cannot and need to be able to run it from my Spotfire Dashboard. So that leads to, is it possible to run an external python script from spotfire possiblyusing IronPython to run it Link to comment Share on other sites More sharing options...
Colin Gray 3 Posted January 24, 2020 Share Posted January 24, 2020 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 More sharing options...
Manoj Singh Posted January 24, 2020 Share Posted January 24, 2020 I think you can give a try tohttps://community.spotfire.com/wiki/python-data-function-tibco-spotfire Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now