<?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 Code in SAS Studio in Viya in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Run-Python-Code-in-SAS-Studio-in-Viya/m-p/501074#M6329</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/228842"&gt;@rarahsghsdd&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The only one way to do that is to execute Python scripts via &lt;A href="https://go.documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=hostunx&amp;amp;docsetTarget=p08yb3p7dchum8n1poyexvfve3gq.htm&amp;amp;locale=en" target="_self"&gt;X&lt;/A&gt; command. You can do that only in SAS Studio 4. &lt;A href="https://go.documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=hostunx&amp;amp;docsetTarget=n02699r064oqccn19vblte8xzr8m.htm&amp;amp;locale=en" target="_self"&gt;XCMD&lt;/A&gt; was disabled in SAS Studio 5. &lt;/P&gt;</description>
    <pubDate>Wed, 03 Oct 2018 10:54:13 GMT</pubDate>
    <dc:creator>alexal</dc:creator>
    <dc:date>2018-10-03T10:54:13Z</dc:date>
    <item>
      <title>Run Python Code in SAS Studio in Viya</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Run-Python-Code-in-SAS-Studio-in-Viya/m-p/501055#M6328</link>
      <description>&lt;P&gt;Hi SAS Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS Studio in Viya and I am able to run python code in Jupyter using swat library of SAS. But now&amp;nbsp;I wanted to execute Python scripts in SAS Studio.&lt;/P&gt;&lt;P&gt;Is there anyway through which I can execute python scripts in SAS studio in Viya ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 10:20:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Run-Python-Code-in-SAS-Studio-in-Viya/m-p/501055#M6328</guid>
      <dc:creator>rarahsghsdd</dc:creator>
      <dc:date>2018-10-03T10:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Run Python Code in SAS Studio in Viya</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Run-Python-Code-in-SAS-Studio-in-Viya/m-p/501074#M6329</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/228842"&gt;@rarahsghsdd&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The only one way to do that is to execute Python scripts via &lt;A href="https://go.documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=hostunx&amp;amp;docsetTarget=p08yb3p7dchum8n1poyexvfve3gq.htm&amp;amp;locale=en" target="_self"&gt;X&lt;/A&gt; command. You can do that only in SAS Studio 4. &lt;A href="https://go.documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=hostunx&amp;amp;docsetTarget=n02699r064oqccn19vblte8xzr8m.htm&amp;amp;locale=en" target="_self"&gt;XCMD&lt;/A&gt; was disabled in SAS Studio 5. &lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 10:54:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Run-Python-Code-in-SAS-Studio-in-Viya/m-p/501074#M6329</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2018-10-03T10:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Run Python Code in SAS Studio in Viya</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Run-Python-Code-in-SAS-Studio-in-Viya/m-p/501120#M6330</link>
      <description>&lt;P&gt;I'd love to hear more about your use case.&amp;nbsp; We've kept SAS Studio focused on SAS coding.&amp;nbsp; My assumption (based on talking to different types of users) is that a Python (or R or whatever) coder already has an interface they like using that's optimized for Python (or R, etc.).&amp;nbsp; They would not consider using a SAS interface like Studio.&amp;nbsp; So we made a conscious decision not to add support for other languages since it would take development effort away from the long wish list we have from SAS programmers.&amp;nbsp; If that's not the case, I need to know!&amp;nbsp; Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 12:58:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Run-Python-Code-in-SAS-Studio-in-Viya/m-p/501120#M6330</guid>
      <dc:creator>AmyP_sas</dc:creator>
      <dc:date>2018-10-03T12:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Run Python Code in SAS Studio in Viya</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Run-Python-Code-in-SAS-Studio-in-Viya/m-p/501440#M6332</link>
      <description>&lt;P&gt;Actually In my case i am using SAS in Sas Studio and entire code in sas but somewhere in between in SAS code I need to execute python script to use one of python library in SAS studio.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 12:11:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Run-Python-Code-in-SAS-Studio-in-Viya/m-p/501440#M6332</guid>
      <dc:creator>rarahsghsdd</dc:creator>
      <dc:date>2018-10-04T12:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Run Python Code in SAS Studio in Viya</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Run-Python-Code-in-SAS-Studio-in-Viya/m-p/501601#M6333</link>
      <description>&lt;P&gt;What a minute!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Taking away the X command has an impact on far more tasks than running python or R, or any other language.&amp;nbsp; I believe that it removes the ability to call any operating system command, no?&amp;nbsp;&amp;nbsp; So while many R and Python users may not miss the X command, I'm sure others will.&amp;nbsp; I've often used X for other tasks - quickly getting directories, and other attributes of my files, and doing some housekeeping.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Possibly more awkward:&amp;nbsp;doesn't taking away the X command also remove the ability to use a pipe in a filename statement?&amp;nbsp; If so, then what if the user (user of unix in my case) wanted to use the TAIL&amp;nbsp;command to get just the last 10 records&amp;nbsp;of a 100 million record raw file, or quickly pipe in a list of a pattern-matching set of files in the directory via the LS plus grep command?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If these actually are the results of removing the X command in studio 5, I for one consider it a notable step backward.&amp;nbsp;&amp;nbsp; At least let access to the X command continued to be controlled by the system administrator.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 17:19:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Run-Python-Code-in-SAS-Studio-in-Viya/m-p/501601#M6333</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2018-10-04T17:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Run Python Code in SAS Studio in Viya</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Run-Python-Code-in-SAS-Studio-in-Viya/m-p/502464#M6361</link>
      <description>&lt;P&gt;Thanks for the use case (now documented in our requirements system).&amp;nbsp; As for the ability to use X command, it's not a permanent removal from Studio.&amp;nbsp; Studio 5.1 (which runs on SAS Viya) is a subset of Studio 3.x (running on 9.4) and the plan is for 5.x to get to replacement value of 3.x before we can release it on 9.4 (kind of confusing, I know, to have a higher release number with fewer functions).&amp;nbsp; The goal is to have X command (and the rest) available and controllable by an administrator.&amp;nbsp; We just don't yet have the microservices support in the 5.x world to implement it.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For being able to switch back and forth between languages, one option is to look at the interfaces like SAS Enterprise Miner in 9.4 or Model Studio in Viya.&amp;nbsp; I'm not an expert on either, but I think they both support models in several languages in the same flow.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 17:39:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Run-Python-Code-in-SAS-Studio-in-Viya/m-p/502464#M6361</guid>
      <dc:creator>AmyP_sas</dc:creator>
      <dc:date>2018-10-08T17:39:25Z</dc:date>
    </item>
  </channel>
</rss>

