<?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: How to deploy Python code thats being called from tSystem on Remote Engine in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-deploy-Python-code-thats-being-called-from-tSystem-on/m-p/2375036#M145828</link>
    <description>&lt;P&gt;good choice! unfortunately, will work only for the subscription version&lt;/P&gt;&lt;P&gt;but still good&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jul 2019 14:37:40 GMT</pubDate>
    <dc:creator>vapukov</dc:creator>
    <dc:date>2019-07-26T14:37:40Z</dc:date>
    <item>
      <title>How to deploy Python code thats being called from tSystem on Remote Engine</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-deploy-Python-code-thats-being-called-from-tSystem-on/m-p/2375033#M145825</link>
      <description>&lt;P&gt;I have a python script that I'm using in tSystem component. How do I make this script part of deployment when deploying my Talend jobs to Remote Engine?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:13:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-deploy-Python-code-thats-being-called-from-tSystem-on/m-p/2375033#M145825</guid>
      <dc:creator>sarora1</dc:creator>
      <dc:date>2024-11-16T05:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy Python code thats being called from tSystem on Remote Engine</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-deploy-Python-code-thats-being-called-from-tSystem-on/m-p/2375034#M145826</link>
      <description>&lt;P&gt;good question!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;would be interesting - if proper solution available.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we deploy scripts independently and "hard-soft" code name:&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;variable name - context.script_root&amp;nbsp;&lt;/LI&gt;
 &lt;LI&gt;relative path to script from parent folder&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;so, all script located in the same root folder which could be adjusted by context variable&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 08:00:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-deploy-Python-code-thats-being-called-from-tSystem-on/m-p/2375034#M145826</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-07-23T08:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy Python code thats being called from tSystem on Remote Engine</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-deploy-Python-code-thats-being-called-from-tSystem-on/m-p/2375035#M145827</link>
      <description>&lt;P&gt;Found a better way to do this.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Add python script under Resource. Then, create 2 context variable:&lt;/P&gt; 
&lt;P&gt;#1 for python path&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;"cmd /c python "&lt;/PRE&gt; 
&lt;P&gt;#2 for referring a Resource&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6ix.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142527i44713D7849053BB9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6ix.png" alt="0683p000009M6ix.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Then in you tSystem component&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;set Command to be&lt;/P&gt; 
&lt;P&gt;context.python_path + context.aurora_config_script&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;It can be further simplified by adding Python path in the script itself using shebang, then you don't need python_path context variable.&lt;/P&gt; 
&lt;P&gt;This also helps with maintaining separate repository for your scripts.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 14:12:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-deploy-Python-code-thats-being-called-from-tSystem-on/m-p/2375035#M145827</guid>
      <dc:creator>sarora1</dc:creator>
      <dc:date>2019-07-23T14:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy Python code thats being called from tSystem on Remote Engine</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-deploy-Python-code-thats-being-called-from-tSystem-on/m-p/2375036#M145828</link>
      <description>&lt;P&gt;good choice! unfortunately, will work only for the subscription version&lt;/P&gt;&lt;P&gt;but still good&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 14:37:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-deploy-Python-code-thats-being-called-from-tSystem-on/m-p/2375036#M145828</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-07-26T14:37:40Z</dc:date>
    </item>
  </channel>
</rss>

