# Python scripted module code organization

**URL:** https://discourse.slicer.org/t/python-scripted-module-code-organization/6339
**Category:** Development
**Created:** [March 30, 2019, 11:04pm UTC](https://discourse.slicer.org/t/python-scripted-module-code-organization/6339 "2019-03-30T23:04:40Z")
**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: [March 31, 2019, 4:36am UTC](https://discourse.slicer.org/t/python-scripted-module-code-organization/6339/2 "2019-03-31T04:36:45Z")

</div>

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/python-scripted-module-code-organization/6339)._
