How to get pylib directory/path of Ignition Client

Hi everyone,

Is there any function that I can use to get the pylib directory/path of the running Ignition Client?

Right now I’m using sys.path[0] to get the pylib but this won’t make sense if we add items in sys.path and also the name of the Ignition GW will change.

Here’s the path I’m referring to:


You really don’t want to mess with this folder - any changes you make will just get overwritten.

Changes to the Gateway’s pylib will be pushed down to the client & designer for you