Hi,
I want to verify that I cam call python in SAS Enterprise Guide. Is there anyone that has a simple python script that I can run in SAS EG? Thank you!
I do look at this link (https://github.com/sassoftware/enlighten-integration/tree/master/SAS_Base_OpenSrcIntegration), but kind of confused what to do with python.
Jade
If you are on a unix server then call IT, 99.9% of the time, a reasonable Unix servers have Perl and Python installed.
Ask for the path and cd to the path then
type python from the command line, you should see
>>
Type
>> print "hello world"
hello world
You just ran your first program
SOAPBOX ON
If this does not work then let IT know that you are a programmer and need an operating system
SOAPBOX OFF
Thanks, I did the hello world on the unix already.
But my boss want me do soomething at SAS to show the calling python in SAS. I don't know the statement in SAS to call python programs, could you please help me with this?
I mean if I put " print "Hello World" ' in program helloworld.py. How can execute this program in SAS?
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.