BookmarkSubscribeRSS Feed
clcl
Calcite | Level 5

 Hi, 

 

i have a pythin code i need to run in SAS EG . 

 

can anyone help ? 

 

i have looked online and i hav enot found a working solution.

 

thanks 

 

CL 

 

4 REPLIES 4
JuanS_OCS
Azurite | Level 17

Hello @clcl,

 

about looking for the answer online, you have it on our own communities! Same question was very well already answered at https://communities.sas.com/t5/Base-SAS-Programming/call-python-script-in-SAS-EG/td-p/228641

 

Please give it a look. 🙂

 

Hope it helps!

Juan

clcl
Calcite | Level 5

i have already seen that post. didnt help 

JuanS_OCS
Azurite | Level 17

Hello @clcl

On what way did not help? We need some additional information.

ChrisHemedinger
Community Manager

There are a few ways to accomplish this, depending on what you need to do.

 

If you need to trigger Python directly from SAS, have a look at this project and examples on the SAS Software GitHub account.

 

If you need to drop a Python script directly into an EG process flow, look at the System Command custom task.  You can use it to run any command on your local PC.  If you need to copy files between SAS and your PC before or after that script, you can use the Copy Files task (built into SAS Enterprise Guide 7.13).

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 11928 views
  • 2 likes
  • 3 in conversation