# Postprocessing the simulation output VTU file with Python

**URL:** https://discourse.paraview.org/t/postprocessing-the-simulation-output-vtu-file-with-python/8960
**Category:** ParaView Support
**Created:** [February 11, 2022, 3:59pm UTC](https://discourse.paraview.org/t/postprocessing-the-simulation-output-vtu-file-with-python/8960 "2022-02-11T15:59:59Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Miraboreasau](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/cc9497/32.png) [@Miraboreasau](https://discourse.paraview.org/u/Miraboreasau)
#### Post date: [February 11, 2022, 3:59pm UTC](https://discourse.paraview.org/t/postprocessing-the-simulation-output-vtu-file-with-python/8960/1 "2022-02-11T15:59:59Z")

</div>

Hello, I want to explore more in my VTU file (attached) besides using Paraview, I try to write a Python script (attached) to read my VTU file, like store all the results to lists, so I can do some analysis.

I have tried both two packages from this link,

> <https://stackoverflow.com/questions/54044958/reading-data-from-a-raw-vtk-vtu-file>

and they don’t work for me. Any one can please provide a good package?

[max.vtu](https://discourse.paraview.org/uploads/short-url/lvHSEAzItbfto6seQM69kdYeIHR.vtu) (2.4 MB)  
[read.py](https://discourse.paraview.org/uploads/short-url/2HIAeTVtnbgeg4HZekKyy2SJOmT.py) (443 Bytes)

---

<div class="post-metadata">

### Author: ![Kenichiro-Yoshimi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@Kenichiro-Yoshimi](https://discourse.paraview.org/u/Kenichiro-Yoshimi)
#### Post date: [February 13, 2022, 12:27pm UTC](https://discourse.paraview.org/t/postprocessing-the-simulation-output-vtu-file-with-python/8960/2 "2022-02-13T12:27:00Z")

</div>

I think you need to change one line in read.py as follows?

```python
file_name = "./Max.vtu"

```
