# Importing custom python module into scripted extension

**URL:** <https://discourse.slicer.org/t/importing-custom-python-module-into-scripted-extension/11673>\
**Category:** Development\
**Tags:** extensions-manager, python, module\
**Created:** [May 23, 2020, 3:27am UTC](https://discourse.slicer.org/t/importing-custom-python-module-into-scripted-extension/11673 "2020-05-23T03:27:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [May 23, 2020, 4:18am UTC](https://discourse.slicer.org/t/importing-custom-python-module-into-scripted-extension/11673/2 "2020-05-23T04:18:32Z")

</div>

This topic should help:

> [@Python scripted module code organization](https://discourse.slicer.org/t/python-scripted-module-code-organization/6339/2):
>
> Python modules must be in subfolder(s). See for example how it is done in [DataProbe module](https://github.com/Slicer/Slicer/tree/master/Modules/Scripted/DataProbe).

---

_[View the full topic](https://discourse.slicer.org/t/importing-custom-python-module-into-scripted-extension/11673)._
