SAS 9.4 M6 (maintenance 6) has introduced the ability to run Python inside SAS
https://documentation.sas.com/?docsetId=proc&docsetTarget=n00v1o3xddpt7hn1x7kp52u78usz.htm&docsetVersion=9.4&locale=en
https://documentation.sas.com/?docsetId=lecompobjref&docsetTarget=p18qp136f91aaqn1h54v3b6pkant.htm&docsetVersion=9.4&locale=en
https://blogs.sas.com/content/sgf/2019/06/04/using-python-functions-inside-sas-programs/
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
... View more