# Make "Save State" in Python format the default?

**URL:** https://discourse.paraview.org/t/make-save-state-in-python-format-the-default/8872
**Category:** ParaView Support
**Tags:** python
**Created:** [February 1, 2022, 3:54pm UTC](https://discourse.paraview.org/t/make-save-state-in-python-format-the-default/8872 "2022-02-01T15:54:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ReneHommel](https://discourse.paraview.org/user_avatar/discourse.paraview.org/renehommel/32/5973_2.png) [@ReneHommel](https://discourse.paraview.org/u/ReneHommel)
#### Post date: [February 1, 2022, 3:54pm UTC](https://discourse.paraview.org/t/make-save-state-in-python-format-the-default/8872/1 "2022-02-01T15:54:50Z")

</div>

I wonder if I can set somewhere that the Python format for “Save State” is used as the default format?

Switching from \*.pvsm to \*.py is very uncomfortable in the long run.

Any help is appreciated, I can’t find a solution.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [February 1, 2022, 3:55pm UTC](https://discourse.paraview.org/t/make-save-state-in-python-format-the-default/8872/2 "2022-02-01T15:55:18Z")

</div>

Thats not possible afaik, but interesting idea.

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [February 1, 2022, 4:26pm UTC](https://discourse.paraview.org/t/make-save-state-in-python-format-the-default/8872/3 "2022-02-01T16:26:17Z")

</div>

Thanks for the good idea. I wrote it up.

[https://gitlab.kitware.com/paraview/paraview/-/issues/21208](https://gitlab.kitware.com/paraview/paraview/-/issues/21208)

---

<div class="post-metadata">

### Author: ![ReneHommel](https://discourse.paraview.org/user_avatar/discourse.paraview.org/renehommel/32/5973_2.png) [@ReneHommel](https://discourse.paraview.org/u/ReneHommel)
#### Post date: [February 1, 2022, 4:59pm UTC](https://discourse.paraview.org/t/make-save-state-in-python-format-the-default/8872/4 "2022-02-01T16:59:38Z")

</div>

Thanks a lot! Would be great for all python folks
