Defines the Python running environment