<?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 can I run a .py python script and python scripts compiled as .exe from JMP in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-can-I-run-a-py-python-script-and-python-scripts-compiled-as/m-p/231567#M45924</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I've written a JMP UI, and once I gather data from the user I have a button that dumps the form data to a CSV.&lt;/P&gt;&lt;P&gt;Now I need to launch my python script and other .exe&amp;nbsp; (as an administrator), my python scripts pick up the user input from the CSV and perform the next steps.&lt;/P&gt;&lt;P&gt;Right now it's a .py but I may need to run it through py2exe and compile it into an exe later so a solution that supports both formats would be greatly appreciated if possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I setup the RunProgram() or Open() to accomplish this task?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm on Windows 10, and for the sake of this example could we demonstrate how to open notepad.exe as an administrator?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't need to read from or write to it directly with JMP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2019 01:45:47 GMT</pubDate>
    <dc:creator>xxvvcczz</dc:creator>
    <dc:date>2019-10-31T01:45:47Z</dc:date>
    <item>
      <title>How can I run a .py python script and python scripts compiled as .exe from JMP</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-run-a-py-python-script-and-python-scripts-compiled-as/m-p/231567#M45924</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I've written a JMP UI, and once I gather data from the user I have a button that dumps the form data to a CSV.&lt;/P&gt;&lt;P&gt;Now I need to launch my python script and other .exe&amp;nbsp; (as an administrator), my python scripts pick up the user input from the CSV and perform the next steps.&lt;/P&gt;&lt;P&gt;Right now it's a .py but I may need to run it through py2exe and compile it into an exe later so a solution that supports both formats would be greatly appreciated if possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I setup the RunProgram() or Open() to accomplish this task?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm on Windows 10, and for the sake of this example could we demonstrate how to open notepad.exe as an administrator?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't need to read from or write to it directly with JMP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 01:45:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-run-a-py-python-script-and-python-scripts-compiled-as/m-p/231567#M45924</guid>
      <dc:creator>xxvvcczz</dc:creator>
      <dc:date>2019-10-31T01:45:47Z</dc:date>
    </item>
  </channel>
</rss>

