<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Passing python-generated jsl to JMP in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Passing-python-generated-jsl-to-JMP/m-p/249333#M48950</link>
    <description>&lt;P&gt;JMP's Python support is provide by JMP embedding the Python interpreter. &amp;nbsp;Loading the Python shared library you have on your system. &amp;nbsp;JMP can run Python scripts, can pass data back and forth between JMP and the Python instance running within JMP. &amp;nbsp;JMP does not have an external Python interface, for example where one could do import JMP in a standalone Python instance. &amp;nbsp;To run JMP externally there are 2 ways that are portable, and one that works on Windows only. &amp;nbsp;Portably, you can run JMP from the command line launching JMP with a JSL script, but you still may get dialogs and all of that. &amp;nbsp;2. Run a JSL script that listens on a socket, the external program sends commands to JMP over a socket, and the JSL script has to parse the communication to call the appropriate commands. &amp;nbsp; Finally, on Windows, JMP exports Windows Automation COM interfaces. &amp;nbsp;With the appropriate Python COM packages, your Python program could drive JMP through the COM automation interface. &amp;nbsp;At present option 3 is your best bet in accomplishing such interaction.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Feb 2020 18:49:45 GMT</pubDate>
    <dc:creator>Paul_Nelson</dc:creator>
    <dc:date>2020-02-26T18:49:45Z</dc:date>
    <item>
      <title>Passing python-generated jsl to JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Passing-python-generated-jsl-to-JMP/m-p/249220#M48929</link>
      <description>&lt;P&gt;I work a lot with python programmers to generate a variety of charts and graphs. Often, I play around with Graph Builder (or some other JMP platform) to get what I want. Then I save it as a graphic, send it to them and say "make this".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be much more efficient, if I could just send them the JSL code and use JMP as the graphic back end. The idea is that when a graph is needed, a python script would send the appropriate JSL code to JMP. JMP would generate the graph and save it as an image for further use by the python script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is something like this possible with JMP? Does anyone know how to do this? We have the python capability. It's the python/JMP interface stuff that has me baffled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 13:55:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Passing-python-generated-jsl-to-JMP/m-p/249220#M48929</guid>
      <dc:creator>scott1588</dc:creator>
      <dc:date>2020-02-26T13:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Passing python-generated jsl to JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Passing-python-generated-jsl-to-JMP/m-p/249333#M48950</link>
      <description>&lt;P&gt;JMP's Python support is provide by JMP embedding the Python interpreter. &amp;nbsp;Loading the Python shared library you have on your system. &amp;nbsp;JMP can run Python scripts, can pass data back and forth between JMP and the Python instance running within JMP. &amp;nbsp;JMP does not have an external Python interface, for example where one could do import JMP in a standalone Python instance. &amp;nbsp;To run JMP externally there are 2 ways that are portable, and one that works on Windows only. &amp;nbsp;Portably, you can run JMP from the command line launching JMP with a JSL script, but you still may get dialogs and all of that. &amp;nbsp;2. Run a JSL script that listens on a socket, the external program sends commands to JMP over a socket, and the JSL script has to parse the communication to call the appropriate commands. &amp;nbsp; Finally, on Windows, JMP exports Windows Automation COM interfaces. &amp;nbsp;With the appropriate Python COM packages, your Python program could drive JMP through the COM automation interface. &amp;nbsp;At present option 3 is your best bet in accomplishing such interaction.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 18:49:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Passing-python-generated-jsl-to-JMP/m-p/249333#M48950</guid>
      <dc:creator>Paul_Nelson</dc:creator>
      <dc:date>2020-02-26T18:49:45Z</dc:date>
    </item>
  </channel>
</rss>

