<?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 Running python on 'jmp_pythonw' in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Running-python-on-jmp-pythonw/m-p/942049#M109486</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;is it possible to configure on how python is executed in JMP? So that i could either use "jmp_python.exe" or "jmp_pythonw.exe"?&lt;/P&gt;
&lt;P&gt;For my python GUI the GUI is blocking python/JMP. Allready discussed here: &lt;A href="https://community.jmp.com/t5/Discussions/Custom-Python-GUI-executed-in-JMP/m-p/846196" target="_self"&gt;(Custom) Python GUI executed in JMP&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;With JMP19+ I now can see that "jmp_pythonw.exe" is also included.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I struggle to define that pythonw is ussed. Either with&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;lc = log capture(EXECUTE = Python Execute({}, {response}, pyCode));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;PythonConnection = Python Connect();
lc = log capture(EXECUTE = PythonConnection &amp;lt;&amp;lt; Execute({}, {response}, pyCode));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;i do not see the option to specify that.&lt;BR /&gt;&lt;BR /&gt;Does anyone have a suggestion? &lt;BR /&gt;&lt;BR /&gt;Thx, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Apr 2026 07:45:58 GMT</pubDate>
    <dc:creator>D_G</dc:creator>
    <dc:date>2026-04-15T07:45:58Z</dc:date>
    <item>
      <title>Running python on 'jmp_pythonw'</title>
      <link>https://community.jmp.com/t5/Discussions/Running-python-on-jmp-pythonw/m-p/942049#M109486</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;is it possible to configure on how python is executed in JMP? So that i could either use "jmp_python.exe" or "jmp_pythonw.exe"?&lt;/P&gt;
&lt;P&gt;For my python GUI the GUI is blocking python/JMP. Allready discussed here: &lt;A href="https://community.jmp.com/t5/Discussions/Custom-Python-GUI-executed-in-JMP/m-p/846196" target="_self"&gt;(Custom) Python GUI executed in JMP&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;With JMP19+ I now can see that "jmp_pythonw.exe" is also included.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I struggle to define that pythonw is ussed. Either with&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;lc = log capture(EXECUTE = Python Execute({}, {response}, pyCode));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;PythonConnection = Python Connect();
lc = log capture(EXECUTE = PythonConnection &amp;lt;&amp;lt; Execute({}, {response}, pyCode));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;i do not see the option to specify that.&lt;BR /&gt;&lt;BR /&gt;Does anyone have a suggestion? &lt;BR /&gt;&lt;BR /&gt;Thx, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2026 07:45:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Running-python-on-jmp-pythonw/m-p/942049#M109486</guid>
      <dc:creator>D_G</dc:creator>
      <dc:date>2026-04-15T07:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Running python on 'jmp_pythonw'</title>
      <link>https://community.jmp.com/t5/Discussions/Running-python-on-jmp-pythonw/m-p/943294#M109566</link>
      <description>&lt;P&gt;Within the Python environment there are two&amp;nbsp;&lt;EM&gt;constants&lt;/EM&gt; jmp.PYTHON_EXE and jmp.PYTHONW_EXE which will give you the full path to the installed Python Executable ( PYTHONW_EXE only exists on Windows, while jmp.PYTHON_EXE is present on macOS and Windows). &amp;nbsp;To utilize the same site-packages directory that you have installed with JMP, take a look inside jmputils.py. &amp;nbsp;A copy of which is included in the SAMPLE_SCRIPTS/Python directory. Look at the code there on how to set up your environment before calling out the Python executable supplied by JMP. &amp;nbsp;This won't change what Python Submit(), Python Execute() or any of the embedded Python support via the import jmp package, but you can use Run Program() or from Python with subprocess or multiprocessing.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 15:18:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Running-python-on-jmp-pythonw/m-p/943294#M109566</guid>
      <dc:creator>Paul_Nelson</dc:creator>
      <dc:date>2026-04-21T15:18:31Z</dc:date>
    </item>
  </channel>
</rss>

