<?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: Run Python Script From QlikView in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Run-Python-Script-From-QlikView/m-p/1293331#M869788</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi - Ahmad ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what version of python, windows&amp;nbsp; and Qlikview are you running?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed the same forum as you, however when I click the button from Qlikview it just says Running Macro forever&lt;/P&gt;&lt;P&gt;and nothing happens.&lt;/P&gt;&lt;P&gt;My version details&lt;/P&gt;&lt;P&gt;Qlikview 12.10&lt;/P&gt;&lt;P&gt;Windows 7&lt;/P&gt;&lt;P&gt;Python 3.6.4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I was able to register the class and was also able to call the macro from VB - works fine).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jun 2018 17:44:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-06-18T17:44:07Z</dc:date>
    <item>
      <title>Run Python Script From QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Python-Script-From-QlikView/m-p/1293329#M869786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to run Python script from QlikView Button. I followed this forum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14011" target="_blank"&gt;QlikView and Python Integration&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I modify MachineInfo to do other things the code does not work. Even simple commands like calling a function or modifying a text file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to execute a complex Python script with new input from QlickView. I used TextBoxEx to get the input and it sends it to the Python code successfully BUT the code fails when I do any function call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/144583_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion how can I run Python script that accepts input from QlikView???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Python-Script-From-QlikView/m-p/1293329#M869786</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Run Python Script From QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Python-Script-From-QlikView/m-p/1293330#M869787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally, I managed to make this work. Now I can change a file on my hard drive using QlikView Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will add the details to make it useful if anyone is interested.&lt;/P&gt;&lt;P&gt;First I will add the screenshots of the code (QlikView and Python)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="148740" alt="python screen shot.JPG" class="image-8 jive-image" height="283" src="/legacyfs/online/148740_python screen shot.JPG" style="height: 283.033px; width: 633px;" width="633" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on the image for better resolution&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="148738" alt="module screen shot.JPG" class="jive-image image-6" height="159" src="/legacyfs/online/148738_module screen shot.JPG" style="height: 158.933px; width: 631px;" width="631" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click "Check"&lt;/P&gt;&lt;P&gt;Click "Test"&lt;/P&gt;&lt;P&gt;Check the error "Highlighted in Yellow below"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="148739" alt="error screen shot.JPG" class="jive-image image-7" height="114" src="/legacyfs/online/148739_error screen shot.JPG" style="height: 114.759px; width: 635px;" width="635" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Error is not readable. So I had to click on the error area then select all and paste it in Notepad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case, QlikView module didn't recognise the relative path for the file so I had to add the full path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2017 05:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Python-Script-From-QlikView/m-p/1293330#M869787</guid>
      <dc:creator />
      <dc:date>2017-01-09T05:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Run Python Script From QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Python-Script-From-QlikView/m-p/1293331#M869788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi - Ahmad ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what version of python, windows&amp;nbsp; and Qlikview are you running?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed the same forum as you, however when I click the button from Qlikview it just says Running Macro forever&lt;/P&gt;&lt;P&gt;and nothing happens.&lt;/P&gt;&lt;P&gt;My version details&lt;/P&gt;&lt;P&gt;Qlikview 12.10&lt;/P&gt;&lt;P&gt;Windows 7&lt;/P&gt;&lt;P&gt;Python 3.6.4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I was able to register the class and was also able to call the macro from VB - works fine).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2018 17:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Python-Script-From-QlikView/m-p/1293331#M869788</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-18T17:44:07Z</dc:date>
    </item>
  </channel>
</rss>

