cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
%3CLINGO-SUB%20id%3D%22lingo-sub-631553%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20JSL%20to%20Python%20Scripting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-631553%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ECan%20you%20provide%20more%20information%3F%20Are%20steps%203%20and%204%20currently%20working%2C%20but%20the%20only%20thing%20you%20need%20is%20to%20make%20JMP%20dynamically%20pick%20a%20file%20and%20pass%20it%20to%20the%20Python%20script%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-631995%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20JSL%20to%20Python%20Scripting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-631995%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3Ethe%20python%20part%20might%20be%20easier%2Ffaster%20to%20do%20in%20JMP%3F%20%26nbsp%3BA%20little%20workflow%20builder%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-631235%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EJSL%20to%20Python%20Scripting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-631235%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EI%20am%20very%20new%20to%20both%20Python%20and%20JSL%20and%20am%20trying%20to%20run%20a%20script%20I%20wrote%20in%20Python%20through%20the%20JSL-Python%20connection.%20I%20would%20like%20to%3A%3C%2FP%3E%3CP%3E1.%20Select%20a%20.txt%20file%20from%20my%20desktop%26nbsp%3B%3C%2FP%3E%3CP%3E2.%20Send%20that%20file%20to%20Python%3C%2FP%3E%3CP%3E3.%20Execute%20the%20tidying%20procedure%20I've%20written%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E4.%20Return%20a%20JMP%20table%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20currently%20what%20my%20code%20looks%20like.%20Thanks%20so%20much%20for%20any%20advice!%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-631235%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3EAutomation%20and%20Scripting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Choose Language Hide Translation Bar
efulton2
Level I

JSL to Python Scripting

I am very new to both Python and JSL and am trying to run a script I wrote in Python through the JSL-Python connection. I would like to:

1. Select a .txt file from my desktop 

2. Send that file to Python

3. Execute the tidying procedure I've written  

4. Return a JMP table 

 

This is currently what my code looks like. Thanks so much for any advice! 

 

 

 

2 REPLIES 2

Re: JSL to Python Scripting

Can you provide more information? Are steps 3 and 4 currently working, but the only thing you need is to make JMP dynamically pick a file and pass it to the Python script?

Byron_JMP
Staff

Re: JSL to Python Scripting

the python part might be easier/faster to do in JMP?  A little workflow builder?

JMP Systems Engineer, Health and Life Sciences (Pharma)