I am using Paraview's Python Shell and need to run a script with parameters. I've already tried to run a script without parameters using: exec(open('/home/otamichalek/Documents/Scritps/V1/OpenFile-V1-sample.py').read())
then I created V2 of the script, which instead of exact definition of filename has filename = str(sys.argv[1])
I need to input multiple arguments, but I wanted to try it using just one first. I need something like exec(open('/home/otamichalek/Documents/Scritps/V1/OpenFile-V1-sample.py' **'FileToOpenWithData'**).read())
Appreciate any help