Vincent Thuilot Posted November 22, 2023 Share Posted November 22, 2023 Experimenting with Python a few things, I realized there is no content with a Hello World Data Function example. Is this something that you could share/look at?Assuming Parameter1 is the input, it could go like this: If parameter 1 above 5, then Parameter2 (the output) Value is "Hello World!"or "Type a number above 5". Sorry if some content exist on this, but so far I could only find it for IronPython.Thanks for your support, it will help to share more on this topics to my colleagues with good examples. Link to comment Share on other sites More sharing options...
Gaia Paolini Posted November 22, 2023 Share Posted November 22, 2023 Can you clarify what you need? E.g. examples of Python data functions? Information on how to set input/output parameters... Link to comment Share on other sites More sharing options...
Vincent Thuilot Posted November 22, 2023 Author Share Posted November 22, 2023 Hello Gaia,Yes, that would be a basic resource with Hello World for Python Data functions.In the meantime I worked out on a small example attached. Will share it to my colleagues so they can see how this works.Just thought that it was something maybe missing as a dedicated article or sample file for people to learn Python more generally.Attached is a small video capture, the script is doing the job with a basic command to show Hello World. Link to comment Share on other sites More sharing options...
Fredrik Rosell Posted November 23, 2023 Share Posted November 23, 2023 Hello Vincent,First, I think a Hello World example is a great idea. I have added your comments here to an existing (internal) idea for exactly that. For now, in addition to your video, there is a Dr. Spotfire session - "Using Python in Spotfire (Data Functions)" ( ) - that could be useful for anyone getting started with Python data functions. There is e.g. a basic example in that session starting at Link to comment Share on other sites More sharing options...
Vincent Thuilot Posted November 27, 2023 Author Share Posted November 27, 2023 Thanks Fredrikindeed, it is a great source to understand Python basics for a table. Very insightful like most of these video series!The 'Hello World' example could explain more deeply how Python could work to interact with parameters/custom properties. 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