# Call Function From Different Script File

**URL:** <https://forum.seatable.com/t/call-function-from-different-script-file/5092>\
**Category:** Scripts (Python and JS)\
**Created:** [September 14, 2024, 7:32am UTC](https://forum.seatable.com/t/call-function-from-different-script-file/5092 "2024-09-14T07:32:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rene](https://forum.seatable.com/user_avatar/forum.seatable.com/rene/32/4378_2.png) [@Rene](https://forum.seatable.com/u/Rene)\
**Post date:** [September 14, 2024, 7:32am UTC](https://forum.seatable.com/t/call-function-from-different-script-file/5092/1 "2024-09-14T07:32:54Z")

</div>

Hey!

Just started out with [seatable.io](http://seatable.io) yesterday and it is fun to use!

My question: Is there a way to call a function in a script that is defined in a different script file?  
So I can create a file with some helper functions and re-use these helper function in a different script?

Right now the code in the scripts becoming very repetitive.  
This relates to Python and JS as well.

Best René

---

<div class="post-metadata">

**Author:** ![rdb](https://forum.seatable.com/user_avatar/forum.seatable.com/rdb/32/1869_2.png) [@rdb](https://forum.seatable.com/u/rdb)\
**Post date:** [September 14, 2024, 12:28pm UTC](https://forum.seatable.com/t/call-function-from-different-script-file/5092/2 "2024-09-14T12:28:09Z")

</div>

Glad you like SeaTable.

In SeaTable Cloud, there is no easy way to achieve what you wish to do.

The story is different when you self-host. Then you can install custom Python modules in your Python Runner. More here: [Custom Python Runner - SeaTable Admin Manual](https://admin.seatable.io/installation/advanced/python-pipeline-custom-python-runner/)

---

<div class="post-metadata">

**Author:** ![Rene](https://forum.seatable.com/user_avatar/forum.seatable.com/rene/32/4378_2.png) [@Rene](https://forum.seatable.com/u/Rene)\
**Post date:** [September 15, 2024, 7:24am UTC](https://forum.seatable.com/t/call-function-from-different-script-file/5092/3 "2024-09-15T07:24:33Z")

</div>

I understand. Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://forum.seatable.com/uploads/default/original/1X/04603423fe81a46c321283663086c475429e8ccb.png) [@system](https://forum.seatable.com/u/system)\
**Post date:** [September 17, 2024, 7:24am UTC](https://forum.seatable.com/t/call-function-from-different-script-file/5092/4 "2024-09-17T07:24:58Z")

</div>

Closed on September 17, 2024, 7:24am UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
