<?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 Execute python script in load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11950#M606869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to run python script inside my load script in Qlik Sense app.&lt;/P&gt;&lt;P&gt;I know that I need to put OverrideScriptSecurity=1 in Settings.ini&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute py lib://python/getSolution.py 12 'ble';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I get no error in qlik sense, bu script is not executed (I think) because inside the script I have&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f = open("file.xml", "wb")&lt;/P&gt;&lt;P&gt;f.write(xml)&lt;/P&gt;&lt;P&gt;f.close&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and file is not saved. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I run script from terminal, then script is properly executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could go wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Feb 2018 12:35:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-02-26T12:35:56Z</dc:date>
    <item>
      <title>Execute python script in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11950#M606869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to run python script inside my load script in Qlik Sense app.&lt;/P&gt;&lt;P&gt;I know that I need to put OverrideScriptSecurity=1 in Settings.ini&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute py lib://python/getSolution.py 12 'ble';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I get no error in qlik sense, bu script is not executed (I think) because inside the script I have&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f = open("file.xml", "wb")&lt;/P&gt;&lt;P&gt;f.write(xml)&lt;/P&gt;&lt;P&gt;f.close&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and file is not saved. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I run script from terminal, then script is properly executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could go wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 12:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11950#M606869</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-26T12:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Execute python script in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11951#M606870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you specify a full path to the python interpreter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 13:13:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11951#M606870</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-02-26T13:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Execute python script in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11952#M606871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My path is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Users\Marko Z\AppData\Local\Programs\Python\Python37-32\python.exe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why? Is there a "right" and "wrong" path for qlik sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 16:20:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11952#M606871</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-26T16:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Execute python script in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11953#M606872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You misunderstood me. I meant "can you add a full path to the command you are trying to execute using the EXECUTE script statement".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most of these EXECUTE problems have to do with the fact that the Windows shell can't find the program to execute. Even cmd.exe may require a full path sepcification before it can be found.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 17:05:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11953#M606872</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-02-26T17:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Execute python script in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11954#M606873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmmm I can see your point...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I try with :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set vPythonPath = "C:\Users\Marko Z\AppData\Local\Programs\Python\Python37-32\python.exe";&lt;/P&gt;&lt;P&gt;Set vPythonFile = "C:\Users\Marko Z\Documents\Qlik\Sense\....\getSolution.py";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute $(vPythonPath) $(vPythonFile);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it still doesn't work...&lt;/P&gt;&lt;P&gt;any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 17:10:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11954#M606873</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-26T17:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Execute python script in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11955#M606874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way that python would writ in console... so that I would see if it is executing.... I see that if I mistype the path Qlik Sense give me an error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The handle is invalid:,..... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this mean that if no error presents, that script is executed? But why then it would not save a file,...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 17:19:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11955#M606874</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-26T17:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Execute python script in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11956#M606875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No idea. Permssions? Can you check whether you python script - when launched via the EXECUTE statement - is able to write to a global directory like C:\Temp?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 17:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11956#M606875</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-02-26T17:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Execute python script in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11957#M606876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure what do you mean by that,... I am sure that Qlik Sense could save file (I exported csv file), but I can't check if python has permissions because the it doesn't display any error. Terminal could save to file,..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 17:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11957#M606876</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-26T17:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Execute python script in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11958#M606877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My python code is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xml = "Marko"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xml = xml.encode('utf-8')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; f = open("C:\\Users\\Marko Z\\Test.xml", "wb")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; f.write(xml)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; f.close&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 17:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11958#M606877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-26T17:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Execute python script in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11959#M606878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Indeed, your attempt to write a file seems straightforward enough. What I meant by my request was to try to write to a global directory that is accessible to everyone (like C:\Temp)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you start ProcessExplorer or Task Manager, do you see the python interpreter being launched when you run the load script? For a better chance of python.exe being visualized, add some code to your script that takes a while to complete, like a loop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 15:04:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11959#M606878</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-02-27T15:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Execute python script in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11960#M606879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a question. Did you disable Standard Mode in Qlik Sense Desktop before trying to execute your Python script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See: &lt;A href="https://help.qlik.com/en-US/sense/February2018/Subsystems/Hub/Content/LoadData/disable-standard-mode.htm" title="https://help.qlik.com/en-US/sense/February2018/Subsystems/Hub/Content/LoadData/disable-standard-mode.htm"&gt;Disabling standard mode - Qlik Sense&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 15:23:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11960#M606879</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-02-27T15:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Execute python script in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11961#M606880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I did.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 15:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11961#M606880</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-27T15:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Execute python script in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11962#M606881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You were right. If I move script in C:\Windows\test.py it work. &lt;/P&gt;&lt;P&gt;Now I assume that the problem is space in path....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&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>Tue, 27 Feb 2018 19:15:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11962#M606881</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-27T19:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Execute python script in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11963#M606882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put double-quotes around paths that you want to pass as-they-are (including any spaces) to an external program. Double-quotes will be passed along and won't be interpreted by the script engine in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this subthread for an explanation: &lt;A href="https://community.qlik.com/message/1083276"&gt;Re: Double quotes on Execute statement&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 11:31:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11963#M606882</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-02-28T11:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Execute python script in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11964#M606883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Most of these EXECUTE problems have to do with the fact that the Windows shell can't find the program to execute. Even cmd.exe may require a full path sepcification before it can be found.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Peter Cammaert's answer is most likely the correct one if you get the error message " Error: The handle is invalid."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even if the execute command runs in QlikView Application on the server the executable may not be in the path for the service account running the qlikview distribution engine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the system Path environment variable in Windows System Properties "Environment Variables"&lt;BR /&gt;.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 18:12:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/11964#M606883</guid>
      <dc:creator>aritting</dc:creator>
      <dc:date>2018-09-11T18:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Execute python script in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/1512629#M606884</link>
      <description>&lt;P&gt;I guess the problem is not with spaces but the directory is not accessible from qlik sense.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 07:23:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/1512629#M606884</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-27T07:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Execute python script in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/1521253#M606885</link>
      <description>&lt;P&gt;This works for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following folders/files:&lt;/P&gt;&lt;P&gt;myfolder/qvw/testpython.qvw&lt;/P&gt;&lt;P&gt;myfolder/bin/testpython.qvw&lt;/P&gt;&lt;P&gt;myfolder/data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For QVW:&lt;/P&gt;&lt;P&gt;Go to Settings--&amp;gt;User Preferences--&amp;gt;Security and select the checkbox next to "Script (Allow Database Write and Execute Statements)"&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In the load script editor Settings tab, select the checkbox next to "Can Execute External Programs"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;QVW Load Script:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN&gt;//&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN&gt;//&amp;nbsp;Change&amp;nbsp;path to python.exe per your local installation&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN&gt;//&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN&gt;​&lt;SPAN class="ms-rteFontFace-2"&gt;EXECUTE D:\ProgramData\Anaconda3\python.exe "..\bin\testpython.py"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="ms-rteFontFace-2"&gt;​&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="ms-rteFontFace-2"&gt;Python file:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="2"&gt;# Open&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;a file stream for writing&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="2"&gt;# assume data folder exists...if not, need to create for this call to work&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="2"&gt;f = open("../data/testpython.txt","w+")&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="2"&gt;# Write test content to file&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="2"&gt;f.write("this is a test...this is only a test...")&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="2"&gt;# Close file stream&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="2"&gt;f.close()​&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 Dec 2018 22:14:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/1521253#M606885</guid>
      <dc:creator>jlongoria</dc:creator>
      <dc:date>2018-12-14T22:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Execute python script in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/1614465#M606886</link>
      <description>&lt;P&gt;I was able to get the below to work in qlik sense:&lt;BR /&gt;set vPyExe = C:\Program Files\Python37\python.exe;&lt;BR /&gt;set vPyScript = D:\...\PythonScript.py;&lt;/P&gt;&lt;P&gt;Execute&lt;BR /&gt;"$(vPyExe)" "$(vSource)"&lt;BR /&gt;;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 18:43:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-python-script-in-load-script/m-p/1614465#M606886</guid>
      <dc:creator>nategreen</dc:creator>
      <dc:date>2019-08-20T18:43:20Z</dc:date>
    </item>
  </channel>
</rss>

