# pvpython problems

**URL:** https://discourse.paraview.org/t/pvpython-problems/957
**Category:** ParaView Support
**Created:** [November 26, 2018, 10:38am UTC](https://discourse.paraview.org/t/pvpython-problems/957 "2018-11-26T10:38:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![AlD](https://discourse.paraview.org/user_avatar/discourse.paraview.org/ald/32/5962_2.png) [@AlD](https://discourse.paraview.org/u/AlD)
#### Post date: [November 26, 2018, 10:38am UTC](https://discourse.paraview.org/t/pvpython-problems/957/1 "2018-11-26T10:38:01Z")

</div>

Hello, my goal is to save time by running paraview through pvpython rather than the gui. What I’m doing is loading a folder of data files and then using them to create an animation. (running linux mint)

The initial steps aside from the source of the datafiles is always the same so I want to automate the initial steps through pvpython command line as much as possible

Here is the initial script I’m using

[https://pastebin.com/YbRcu3UP](https://pastebin.com/YbRcu3UP)

I have two main problems and a question.

1. pvpython from command line simply won’t work. When I try

pvpython WB.py

I get

```
Traceback (most recent call last):
  File "WB.py", line 11, in <module>
    animationScene1.UpdateAnimationUsingDataTimeSteps()
  File "/usr/lib/python2.7/dist-packages/paraview/servermanager.py", line 414, in __getattr__
    return getattr(self.SMProxy, name)
AttributeError: UpdateAnimationUsingDataTimeSteps

```

1. Is there an easier way to load the data files other than as shown in the script, this?

I need to load a different folder of files each time. Ordinarily I’d load this into paraview by clicking on a single series of files but in the command line the loading is 99 names long.

1. After I create the visualization through pvpython. would it be possible to manipulate it via the gui Ie turn it around, look at different variables?

---

<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: [November 26, 2018, 3:40pm UTC](https://discourse.paraview.org/t/pvpython-problems/957/2 "2018-11-26T15:40:57Z")

</div>

> 1. After I create the visualization through pvpython. would it be possible to manipulate it via the gui Ie turn it around, look at different variables?

For that, you need to connect to a pvserver running in multi-client mode.
