# How to add and edit module

**URL:** https://discourse.slicer.org/t/how-to-add-and-edit-module/37626
**Category:** Development
**Created:** [July 30, 2024, 8:17pm UTC](https://discourse.slicer.org/t/how-to-add-and-edit-module/37626 "2024-07-30T20:17:57Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jessica\_de\_Kort](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jessica_de_kort/32/70344_2.png) [@Jessica\_de\_Kort](https://discourse.slicer.org/u/Jessica_de_Kort)
#### Post date: [July 30, 2024, 8:17pm UTC](https://discourse.slicer.org/t/how-to-add-and-edit-module/37626/1 "2024-07-30T20:17:57Z")

</div>

Hi there. I added a custom module into Slicer but I don’t know how to edit it through Slicer. Do I have to redownload the module everytime?

---

<div class="post-metadata">

### Author: ![mikebind](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@mikebind](https://discourse.slicer.org/u/mikebind)
#### Post date: [July 31, 2024, 7:46pm UTC](https://discourse.slicer.org/t/how-to-add-and-edit-module/37626/2 "2024-07-31T19:46:57Z")

</div>

In the application settings, turn on Developer Mode [Application settings — 3D Slicer documentation](https://slicer.readthedocs.io/en/latest/user_guide/settings.html#developer-mode) and restart Slicer. This will add a “Reload and Test” section to the top of modules, including yours. If you click the “Edit” button in that section, it will load the .py file with your module code in it in an editor. If you modify the code and save it, then the “Reload” button will reload your module code and you can test the changes (no need to restart Slicer).
