Desktop productivity for business analysts and programmers

running python code in EG

Reply
Contributor
Posts: 45

running python code in EG

 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 

 

Super User
Posts: 1,102

Re: running python code in EG

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. Smiley Happy

 

Hope it helps!

Juan

Contributor
Posts: 45

Re: running python code in EG

i have already seen that post. didnt help 

Super User
Posts: 1,102

Re: running python code in EG

Hello @clcl

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

Community Manager
Posts: 2,697

Re: running python code in EG

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).

Ask a Question
Discussion stats
  • 4 replies
  • 201 views
  • 2 likes
  • 3 in conversation