# How to get pylib directory/path of Ignition Client

**URL:** <https://forum.inductiveautomation.com/t/how-to-get-pylib-directory-path-of-ignition-client/10508>\
**Category:** General Discussion\
**Created:** [September 24, 2015, 4:28am UTC](https://forum.inductiveautomation.com/t/how-to-get-pylib-directory-path-of-ignition-client/10508 "2015-09-24T04:28:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dlaki](https://avatars.discourse-cdn.com/v4/letter/d/f0a364/32.png) [@dlaki](https://forum.inductiveautomation.com/u/dlaki)\
**Post date:** [September 24, 2015, 4:28am UTC](https://forum.inductiveautomation.com/t/how-to-get-pylib-directory-path-of-ignition-client/10508/1 "2015-09-24T04:28:33Z")

</div>

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:  
‘C:\Users\DLaki713\.ignition\cache\gwserver\_8088\_443\_main\C1\pylib’

Thanks.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [September 25, 2015, 5:43pm UTC](https://forum.inductiveautomation.com/t/how-to-get-pylib-directory-path-of-ignition-client/10508/2 "2015-09-25T17:43:13Z")

</div>

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
