<?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 How to import a variable value from JMP to Python? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-import-a-variable-value-from-JMP-to-Python/m-p/750496#M93146</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to print the value of "rate" from JMP to Python.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rate = 0.07;&lt;BR /&gt;show(rate);&lt;/P&gt;&lt;P&gt;Python Init(Use Python Version("3.12.3"));&lt;BR /&gt;Python Send( rate, Python Name( "err_rate" ) );&lt;BR /&gt;Python Submit( "print(err_rate)" );&lt;/P&gt;</description>
    <pubDate>Mon, 29 Apr 2024 06:13:11 GMT</pubDate>
    <dc:creator>vharibal</dc:creator>
    <dc:date>2024-04-29T06:13:11Z</dc:date>
    <item>
      <title>How to import a variable value from JMP to Python?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-import-a-variable-value-from-JMP-to-Python/m-p/750496#M93146</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to print the value of "rate" from JMP to Python.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rate = 0.07;&lt;BR /&gt;show(rate);&lt;/P&gt;&lt;P&gt;Python Init(Use Python Version("3.12.3"));&lt;BR /&gt;Python Send( rate, Python Name( "err_rate" ) );&lt;BR /&gt;Python Submit( "print(err_rate)" );&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 06:13:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-import-a-variable-value-from-JMP-to-Python/m-p/750496#M93146</guid>
      <dc:creator>vharibal</dc:creator>
      <dc:date>2024-04-29T06:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a variable value from JMP to Python?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-import-a-variable-value-from-JMP-to-Python/m-p/750518#M93148</link>
      <description>&lt;P&gt;If it is possible, update to JMP18 and using Python in JMP gets much easier (you will be "limited" to Python 3.11 for now though)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

rate = 0.07;

Python Send(rate);
Python Submit("\[print(rate)]\");

//get_rate = Python Get(rate);
//show(get_rate);

Write();&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 29 Apr 2024 07:15:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-import-a-variable-value-from-JMP-to-Python/m-p/750518#M93148</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-04-29T07:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a variable value from JMP to Python?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-import-a-variable-value-from-JMP-to-Python/m-p/750567#M93156</link>
      <description>&lt;P&gt;For JMP 17 and earlier, I have a non Anaconda&amp;nbsp; version(8.6) of Python installed.&amp;nbsp; I successfully ran your sample code without error.&amp;nbsp; I did remove the "Use Python Version" since JMP finds it by default.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The integration of JMP&amp;nbsp; with Python has been an ongoing issue, culminating with JMP 18 installing a version of Python with it.&amp;nbsp; If you can update to JMP 18 as Jarmo suggests is the best solution.&amp;nbsp; If you can not update, then I suggest you search the Discussion responses for possible solutions. I suspect that Python version 12 may be an issue.&amp;nbsp; If you don't absolutely need version 12, I suggest you try deleting it, and installing a non Anaconda version of an older version of Python.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 11:05:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-import-a-variable-value-from-JMP-to-Python/m-p/750567#M93156</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-04-29T11:05:45Z</dc:date>
    </item>
  </channel>
</rss>

