Hi,
How do I connect/execute python code into SAS Viya?
Is there any way other than Python SWAT?
Please suggest what are the possible ways to execute python script into SAS VIYA.
Thanks Alexal fro your reply!
Just to give you brief about my query:
I have python scripts which imports data and do some statistcial analysis. I want to execute the same script in SAS Viya without using SWAT. It would be great if you can assist me with some sample code or any document which will help me to understand/wirte my own library to communicate with CAS server over REST API.
Can I write python script in SAS code window instead of using Juyter Notebook as a interface and get output result directly on SAS Viya ?
Okay.
Can I call python scirpt using Proc IML? If yes do you have any reference to share please.
@USP2405 did you find a solution to your problem?
I am in similar situation. We have Viya environment and Python scripts from pilot project done outside SAS. Trying to understand if there's any change we can run Python scripts using SAS Viya end-user tools as it is without installing any third-party tools. These scripts produce csv files.
@alexal, do you know if there's been advancements in this area as this post was originally posted several years ago.
Thank you
Rain
Hi @Rain,
@alexal may have additional insight, but I'd recommend starting with the Python tools outlined on developer.sas.com. There, you can browse multiple tools for SAS and Python integration.
There is also Proc FCMP; however, this looks to be more inline with the original question vs your situation.
Join us for SAS Community Trivia
SAS Bowl XLII, SAS Hackathon 2024
Wednesday, August 14, 2024, at 10 a.m. ET | #SASBowl
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: