<?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 call Python function in SAS_VIYA 3.5 without using proc fcmp and python in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/How-to-call-Python-function-in-SAS-VIYA-3-5-without-using-proc/m-p/811218#M1395</link>
    <description>I couldn't find any documentation suggesting you could do this outside of using PROC FCMP.</description>
    <pubDate>Tue, 03 May 2022 13:50:40 GMT</pubDate>
    <dc:creator>gwootton</dc:creator>
    <dc:date>2022-05-03T13:50:40Z</dc:date>
    <item>
      <title>How to call Python function in SAS_VIYA 3.5 without using proc fcmp and python</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-call-Python-function-in-SAS-VIYA-3-5-without-using-proc/m-p/810625#M1394</link>
      <description>&lt;P&gt;SAS_VIYA docker image that i have doesn't have the below products so i cannot use proc FCMP to call python Functions :&lt;/P&gt;&lt;P&gt;SAS Intelligent Decisioning&lt;/P&gt;&lt;P&gt;SAS Model Manager&lt;/P&gt;&lt;P&gt;SAS Event Stream Processing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also , Its sas_viya 3.5 so I cannot&amp;nbsp; use proc python .&lt;/P&gt;&lt;P&gt;I tried the below line of code and it worked :&lt;/P&gt;&lt;P&gt;proc options option=xcmd;&lt;BR /&gt;run;&lt;BR /&gt;X "python3 app.py"; --&amp;gt; this worked&lt;/P&gt;&lt;P&gt;But I need to call a python function and need to import app.py as module.&lt;/P&gt;&lt;P&gt;python -c ''import app; app.run(input)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is something like this achievable.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 13:16:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-call-Python-function-in-SAS-VIYA-3-5-without-using-proc/m-p/810625#M1394</guid>
      <dc:creator>Aki_shivhare</dc:creator>
      <dc:date>2022-04-29T13:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to call Python function in SAS_VIYA 3.5 without using proc fcmp and python</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-call-Python-function-in-SAS-VIYA-3-5-without-using-proc/m-p/811218#M1395</link>
      <description>I couldn't find any documentation suggesting you could do this outside of using PROC FCMP.</description>
      <pubDate>Tue, 03 May 2022 13:50:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-call-Python-function-in-SAS-VIYA-3-5-without-using-proc/m-p/811218#M1395</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2022-05-03T13:50:40Z</dc:date>
    </item>
  </channel>
</rss>

