# Script Linking

**URL:** <https://forum.inductiveautomation.com/t/script-linking/6537>\
**Category:** General Discussion\
**Created:** [May 20, 2013, 9:36pm UTC](https://forum.inductiveautomation.com/t/script-linking/6537 "2013-05-20T21:36:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DCS\_Helpdesk](https://avatars.discourse-cdn.com/v4/letter/d/0ea827/32.png) [@DCS\_Helpdesk](https://forum.inductiveautomation.com/u/DCS_Helpdesk)\
**Post date:** [May 20, 2013, 9:36pm UTC](https://forum.inductiveautomation.com/t/script-linking/6537/1 "2013-05-20T21:36:31Z")

</div>

Is there anywhere in ignition I can create a common .py for import into gateway / client scripts?

I would like to maintain functions common to multiple scripts without having to duplicate them.

If not is there another method of achieving function like this, that perhaps I am simply looking at the problem wrong?

Only been using it for about a week, so rather new all around, thanks in advance.

---

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [May 21, 2013, 11:34pm UTC](https://forum.inductiveautomation.com/t/script-linking/6537/2 "2013-05-21T23:34:32Z")

</div>

You could put your functions in Script Modules. Then you can reuse them anywhere in the same project. Is that what you are looking for?

Look here: [inductiveautomation.com/supp … odules.htm](http://www.inductiveautomation.com/support/usermanuals/ignition/index.html?script_modules.htm)

Or are you looking for a way to use functions across projects? I don’t know a good way to do that.
