<?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: Python tkinter library in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Python-tkinter-library/m-p/782162#M96535</link>
    <description>&lt;P&gt;See this reply by Paul &lt;A href="https://community.jmp.com/t5/Discussions/Is-there-a-list-of-python-library-names-in-JMP18-0-0/m-p/775440/highlight/true#M95765" target="_self"&gt;RE: Is there a list of python library names in JMP18.0.0?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bolding added by me&lt;/P&gt;
&lt;BLOCKQUOTE&gt;The only 'installed' libraries are the standard libraries distributed with a stock Python.org Python 3.11.x minus a select few &lt;STRONG&gt;that may not play well&lt;/STRONG&gt; within the embedded environment. These most notably: venv, and &lt;STRONG&gt;tkinter&lt;/STRONG&gt;. And a few trivial ones like turtle and hello.&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Fri, 16 Aug 2024 11:22:42 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-08-16T11:22:42Z</dc:date>
    <item>
      <title>Python tkinter library</title>
      <link>https://community.jmp.com/t5/Discussions/Python-tkinter-library/m-p/782151#M96533</link>
      <description>&lt;P&gt;Is there a way to use the python tkinter library. If I try to import it I just get an error message saying it doesn't exist.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 09:19:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Python-tkinter-library/m-p/782151#M96533</guid>
      <dc:creator>Isaac2</dc:creator>
      <dc:date>2024-08-16T09:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Python tkinter library</title>
      <link>https://community.jmp.com/t5/Discussions/Python-tkinter-library/m-p/782162#M96535</link>
      <description>&lt;P&gt;See this reply by Paul &lt;A href="https://community.jmp.com/t5/Discussions/Is-there-a-list-of-python-library-names-in-JMP18-0-0/m-p/775440/highlight/true#M95765" target="_self"&gt;RE: Is there a list of python library names in JMP18.0.0?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bolding added by me&lt;/P&gt;
&lt;BLOCKQUOTE&gt;The only 'installed' libraries are the standard libraries distributed with a stock Python.org Python 3.11.x minus a select few &lt;STRONG&gt;that may not play well&lt;/STRONG&gt; within the embedded environment. These most notably: venv, and &lt;STRONG&gt;tkinter&lt;/STRONG&gt;. And a few trivial ones like turtle and hello.&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 16 Aug 2024 11:22:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Python-tkinter-library/m-p/782162#M96535</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-08-16T11:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Python tkinter library</title>
      <link>https://community.jmp.com/t5/Discussions/Python-tkinter-library/m-p/782943#M96684</link>
      <description>&lt;P&gt;The issue is that TkInter and other GUI libraries for Python are assuming Python is in control of the main program's 'run loop' but in the case of embedded Python, the host application ( JMP ) is the one in control of the Main GUI's event loop. &amp;nbsp;This causes all kinds of issues, mostly instability and crashes as the two are fighting for control of the event loop. &amp;nbsp;Opening a Tk window, ( or even a matplotlib window ) is often fine a long as you never close the window while JMP is still running... &amp;nbsp;Close the window, you can get multiple issues. &amp;nbsp;I have seen all of these: JMP exiting because the Python UI decided last window closed should exit the application, but that's JMP; corruption of menu system in JMP as the Python UI causes other resources to be freed as window closes; and just plain crashing soon after.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One of the things that is being explored is bringing up JMP UI windows to draw within and add controls. &amp;nbsp;I have already done example code in 18 where using run_jsl() a file picker dialog is raised. JMP Python in integration controlling JMP windows does not have the same issues as an external UI that thinks Python is in full control.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 17:13:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Python-tkinter-library/m-p/782943#M96684</guid>
      <dc:creator>Paul_Nelson</dc:creator>
      <dc:date>2024-08-20T17:13:46Z</dc:date>
    </item>
  </channel>
</rss>

