Double check the version of SAS your are using, if it's SAS 9.4 M6, then these links would provide an integrated way, Otherwise, you'll have to Executing Operating System Commands from Your SAS Session to call/execute your python program (*.py) using the Python executable
Hope this helps,
Ahmed
Catch up on SAS Innovate 2026
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.