In reply to Tony Mayo.

Hi Tony, currently there is no way to translate a SAS code to Python. What exists are ways to wrap the python code into SAS code and execute them. Not the other way around. Some options that are not exactly the same, is using SASCTL, SWAT or SASPY. You can find them here https://github.com/sassoftware