# Open Paraview GUI with python functions laoded

**URL:** https://discourse.paraview.org/t/open-paraview-gui-with-python-functions-laoded/8779
**Category:** ParaView Support
**Created:** [January 14, 2022, 1:29pm UTC](https://discourse.paraview.org/t/open-paraview-gui-with-python-functions-laoded/8779 "2022-01-14T13:29:25Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![whiteW](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/a87d85/32.png) [@whiteW](https://discourse.paraview.org/u/whiteW)
#### Post date: [January 16, 2022, 5:43pm UTC](https://discourse.paraview.org/t/open-paraview-gui-with-python-functions-laoded/8779/2 "2022-01-16T17:43:29Z")

</div>

This problem seems to be similar to the one described here:

> [@Python shell reset on first use with Paraview 5.6](https://discourse.paraview.org/t/python-shell-reset-on-first-use-with-paraview-5-6/2978):
>
> Hello, I’ve got an issue with Paraview 5.6.0 with the use of script. I open the GUI of ParaView with command line and the use of --script=name\_of\_script.py to execute a python script at the openning This open me the GUI of Paraview and execute some operations like loading geometry and perform some post processing. And also load some home made python libraries with post-processing functions like plot line at location of interest if wanted by the user. With ParaView 5.4, after the sc…

Why the Python Shell resets at startup even if a script has run?

Is there a workaround? A way to suggest paraview to load some python functions at atartup?  
A sort of:

`from startupscript.py import *`

to be always executed when paraview is opened?

Thanks,  
WhiteW

---

_[View the full topic](https://discourse.paraview.org/t/open-paraview-gui-with-python-functions-laoded/8779)._
