Python shell reset on first use with Paraview 5.6

Thank you for your quick help

So there is no real solution except running the script again. :-/
For my use, it’s not just one line like import numpy as np, but a lot of lines… This was for a simple example.

I see that in Paraview 5.7, there is no more option “–script=” for executing paraview. This features of launching a python script at the opening is now not supported?