<?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: Execute from Qlikview load script for Python file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Execute-from-Qlikview-load-script-for-Python-file/m-p/125721#M19036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is very weird situation. &lt;/P&gt;&lt;P&gt;In my local PC (at work) it doesn't works, but in server it works and in my home PC works too. &lt;/P&gt;&lt;P&gt;Maybe I should make additional tune in Windows?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jul 2018 09:00:14 GMT</pubDate>
    <dc:creator>antonaks</dc:creator>
    <dc:date>2018-07-12T09:00:14Z</dc:date>
    <item>
      <title>Execute from Qlikview load script for Python file</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-from-Qlikview-load-script-for-Python-file/m-p/125714#M19029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear colleagues, &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have issue with Execute statement in load script when I try to run the python file. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Script runs with success when I run it without qlik (just pushed enter on it), or when I input it in cmd file and run from command file. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But&amp;nbsp; it doesn't execute when I use Execute in Qlik load script. Even when I input python script file path in cmd file, and execute cmd. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I'm asking for help. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;For information, I have already used this variants (doesn't work):&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;EXECUTE C:\PycharmProjects\ODS_Data_Observer\data_observer.py;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;EXECUTE Python3 C:\PycharmProjects\ODS_Data_Observer\data_observer.py;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;EXECUTE cmd.exe /C&amp;nbsp; C:\PycharmProjects\ODS_Data_Observer\New Text Document.cmd;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;EXECUTE C:\...\Python\Python36-32\python.exe C:\PycharmProjects\ODS_Data_Observer\data_observer.py; &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;"Can Execute External Programs" &lt;/SPAN&gt;checkbox is &lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;enable.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 08:04:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-from-Qlikview-load-script-for-Python-file/m-p/125714#M19029</guid>
      <dc:creator>antonaks</dc:creator>
      <dc:date>2018-07-10T08:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Execute from Qlikview load script for Python file</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-from-Qlikview-load-script-for-Python-file/m-p/125715#M19030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;up&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 12:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-from-Qlikview-load-script-for-Python-file/m-p/125715#M19030</guid>
      <dc:creator>antonaks</dc:creator>
      <dc:date>2018-07-10T12:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Execute from Qlikview load script for Python file</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-from-Qlikview-load-script-for-Python-file/m-p/125716#M19031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should use double quotes in order to make it work...&lt;/P&gt;&lt;P&gt;For example i use the following excute command with success:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE cmd.exe /c del "\\QLIKVIEW_SRV\E$\QV_CommonStorage\Actual_tmp.qvd";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 12:57:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-from-Qlikview-load-script-for-Python-file/m-p/125716#M19031</guid>
      <dc:creator>dapostolopoylos</dc:creator>
      <dc:date>2018-07-10T12:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Execute from Qlikview load script for Python file</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-from-Qlikview-load-script-for-Python-file/m-p/125717#M19032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this approach too, but it doesn't work. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 14:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-from-Qlikview-load-script-for-Python-file/m-p/125717#M19032</guid>
      <dc:creator>antonaks</dc:creator>
      <dc:date>2018-07-10T14:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Execute from Qlikview load script for Python file</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-from-Qlikview-load-script-for-Python-file/m-p/125718#M19033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;up&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 15:14:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-from-Qlikview-load-script-for-Python-file/m-p/125718#M19033</guid>
      <dc:creator>antonaks</dc:creator>
      <dc:date>2018-07-10T15:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Execute from Qlikview load script for Python file</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-from-Qlikview-load-script-for-Python-file/m-p/125719#M19034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 10.6667px;"&gt;Execute cmd /C "cd E:\Qlikserver\03.Utils &amp;amp;&amp;amp; python script.py"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 15:55:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-from-Qlikview-load-script-for-Python-file/m-p/125719#M19034</guid>
      <dc:creator>marco_almeida</dc:creator>
      <dc:date>2018-07-10T15:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Execute from Qlikview load script for Python file</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-from-Qlikview-load-script-for-Python-file/m-p/125720#M19035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anton&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I often use Python in QV script and it works without any problems, also with parameters for python script.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set csvPath='$(sData)\$(sDataArea)\$(vVersion)\Export_PSP.csv';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store PSP into [$(csvPath)](txt);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let csvPath=Replace('$(csvPath)','\','/');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set pythonExe = 'c:\Tools\WinPython-64bit-3.6.3.0Qt5\python-3.6.3.amd64\python.exe';&lt;/P&gt;&lt;P&gt;set pyScripts = '\\server\Scripts\Py';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE $(pythonExe) $(pyScripts)\HR_Counter.py -csv "$(csvPath)";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 19:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-from-Qlikview-load-script-for-Python-file/m-p/125720#M19035</guid>
      <dc:creator>cwolf</dc:creator>
      <dc:date>2018-07-10T19:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Execute from Qlikview load script for Python file</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-from-Qlikview-load-script-for-Python-file/m-p/125721#M19036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is very weird situation. &lt;/P&gt;&lt;P&gt;In my local PC (at work) it doesn't works, but in server it works and in my home PC works too. &lt;/P&gt;&lt;P&gt;Maybe I should make additional tune in Windows?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2018 09:00:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-from-Qlikview-load-script-for-Python-file/m-p/125721#M19036</guid>
      <dc:creator>antonaks</dc:creator>
      <dc:date>2018-07-12T09:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Execute from Qlikview load script for Python file</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-from-Qlikview-load-script-for-Python-file/m-p/125722#M19037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe I should make additional tune in Windows?&lt;/P&gt;&lt;P&gt;Because at one PC it works, and in another doesn't.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2018 09:22:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-from-Qlikview-load-script-for-Python-file/m-p/125722#M19037</guid>
      <dc:creator>antonaks</dc:creator>
      <dc:date>2018-07-12T09:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Execute from Qlikview load script for Python file</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-from-Qlikview-load-script-for-Python-file/m-p/125723#M19038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved my issue. It works when Qlik application and script situated in the same folder. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2018 14:41:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-from-Qlikview-load-script-for-Python-file/m-p/125723#M19038</guid>
      <dc:creator>antonaks</dc:creator>
      <dc:date>2018-07-13T14:41:56Z</dc:date>
    </item>
  </channel>
</rss>

