And, the saspy method for assigning a library is the following (off of the SASsession object):
saslib (libref: str, engine: str = ' ', path: str = '', options: str = ' ', prompt: dict = None) → str
Parameters:
libref – the libref to be assigned
engine – the engine name used to access the SAS Library (engine defaults to BASE, per SAS)
path – path to the library (for engines that take a path parameter)
options – other engine or engine supervisor options
Returns:
SAS log
... View more