# Is there any python script recorder in 3D slicer?

**URL:** <https://discourse.slicer.org/t/is-there-any-python-script-recorder-in-3d-slicer/39910>\
**Category:** Support\
**Tags:** python\
**Created:** [October 29, 2024, 9:44am UTC](https://discourse.slicer.org/t/is-there-any-python-script-recorder-in-3d-slicer/39910 "2024-10-29T09:44:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chuan](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@Chuan](https://discourse.slicer.org/u/Chuan)\
**Post date:** [October 29, 2024, 9:44am UTC](https://discourse.slicer.org/t/is-there-any-python-script-recorder-in-3d-slicer/39910/1 "2024-10-29T09:44:37Z")

</div>

Hi all,

I am still learning how to use Python console to automatically process my data. I would like to ask if there is any script recorder stuff in 3D slicer, I mean I can click the button firstly, and then it shows the corresponding python scripts so that I can dig into that and revise.  
I know there are a lot of examples but still feel it is a bit difficult for me.

Best regards,  
Chuan

---

<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:** [October 29, 2024, 11:42am UTC](https://discourse.slicer.org/t/is-there-any-python-script-recorder-in-3d-slicer/39910/2 "2024-10-29T11:42:56Z")

</div>

There’s nothing automatic, but these methods work:

[https://slicer.readthedocs.io/en/latest/developer\_guide/python\_faq.html#how-to-find-a-python-function-for-any-slicer-features](https://slicer.readthedocs.io/en/latest/developer_guide/python_faq.html#how-to-find-a-python-function-for-any-slicer-features)

---

<div class="post-metadata">

**Author:** ![Chuan](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@Chuan](https://discourse.slicer.org/u/Chuan)\
**Post date:** [October 29, 2024, 12:16pm UTC](https://discourse.slicer.org/t/is-there-any-python-script-recorder-in-3d-slicer/39910/3 "2024-10-29T12:16:06Z")

</div>

Thanks Pieper, that also helps a lot.
