Skip to content

Add-On: Python

Enabling Python is achieved using the --configure process. This add-on will also be automatically enabled if the Jupyter add-on is enabled.

Do you want to enable python? [y/n] (y):

Once Python is enabled you will be able to use the PROC PYTHON procedure. For example:

proc python;
submit;
import getpass
import sys
print(f'Hello {getpass.getuser()}')
print(f'Python version {sys.version}')
endsubmit;
run;

The Python environment is available at /python within the environment.