# Transfer python program to slicer extension

**URL:** <https://discourse.slicer.org/t/transfer-python-program-to-slicer-extension/19705>\
**Category:** Development\
**Tags:** dicom, python\
**Created:** [September 16, 2021, 12:35pm UTC](https://discourse.slicer.org/t/transfer-python-program-to-slicer-extension/19705 "2021-09-16T12:35:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SlicerNoob](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@SlicerNoob](https://discourse.slicer.org/u/SlicerNoob)\
**Post date:** [September 16, 2021, 12:35pm UTC](https://discourse.slicer.org/t/transfer-python-program-to-slicer-extension/19705/1 "2021-09-16T12:35:36Z")

</div>

Hello everyone. I am new to Slicer and I have coded the Python program that can store the Tag of a DICOM file as a csv file. Now I want to develop a simple slicer extension that will start running that Python program at the press of a button. How should I do it? Are there any good related resources I can refer to?

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [September 16, 2021, 2:23pm UTC](https://discourse.slicer.org/t/transfer-python-program-to-slicer-extension/19705/2 "2021-09-16T14:23:36Z")

</div>

This tutorial would be a good place to start:

[https://www.slicer.org/wiki/Documentation/4.10/Training#Developing\_and\_contributing\_extensions\_for\_3D\_Slicer](https://www.slicer.org/wiki/Documentation/4.10/Training#Developing_and_contributing_extensions_for_3D_Slicer)
