# How to run the python examples ?

**URL:** https://discourse.vtk.org/t/how-to-run-the-python-examples/13855
**Category:** Support
**Tags:** python
**Created:** [May 7, 2024, 6:47am UTC](https://discourse.vtk.org/t/how-to-run-the-python-examples/13855 "2024-05-07T06:47:45Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![chiyandetaotie](https://discourse.vtk.org/user_avatar/discourse.vtk.org/chiyandetaotie/32/8843_2.png) [@chiyandetaotie](https://discourse.vtk.org/u/chiyandetaotie)
#### Post date: [May 7, 2024, 6:47am UTC](https://discourse.vtk.org/t/how-to-run-the-python-examples/13855/1 "2024-05-07T06:47:45Z")

</div>

I am a newer. I do not know how to download the python examples.I want to run the example ([https://examples.vtk.org/site/Python/VisualizationAlgorithms/CutStructuredGrid/](https://examples.vtk.org/site/Python/VisualizationAlgorithms/CutStructuredGrid/)) on my computer.  
But I can not find the data (filename1 and filename2). Can you help me?

 ![image](https://discourse.vtk.org/uploads/default/original/2X/b/b58a43e7cf0df8c3d0c97de1a73a8ad2a2f31c68.png)

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.vtk.org/user_avatar/discourse.vtk.org/cory.quammen/32/6751_2.png) [@cory.quammen](https://discourse.vtk.org/u/cory.quammen)
#### Post date: [May 7, 2024, 11:16am UTC](https://discourse.vtk.org/t/how-to-run-the-python-examples/13855/2 "2024-05-07T11:16:00Z")

</div>

Welcome to VTK, @chiyandetaotie

I looked around the VTK Examples site because I thought that surely there must be instructions to obtain the data. However, I did not see any instructions. Maybe @amaclean knows?

To find those files, I went to the [VTK download](https://vtk.org/download/) page and downloaded [VTKDataFiles-9.3.0.tar.gz](https://www.vtk.org/files/release/9.3/VTKDataFiles-9.3.0.tar.gz). Untar that and you will find those data files under `VTK-9.3.0/Testing/Data/`

Hope that helps!

---

<div class="post-metadata">

### Author: ![amaclean](https://discourse.vtk.org/user_avatar/discourse.vtk.org/amaclean/32/224_2.png) [@amaclean](https://discourse.vtk.org/u/amaclean)
#### Post date: [May 7, 2024, 11:11pm UTC](https://discourse.vtk.org/t/how-to-run-the-python-examples/13855/3 "2024-05-07T23:11:10Z")

</div>

Information about where to find the data files and how to get them will appear in [About the Examples](https://examples.vtk.org/site/) in a few hours from now.

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.vtk.org/user_avatar/discourse.vtk.org/cory.quammen/32/6751_2.png) [@cory.quammen](https://discourse.vtk.org/u/cory.quammen)
#### Post date: [May 8, 2024, 12:18am UTC](https://discourse.vtk.org/t/how-to-run-the-python-examples/13855/4 "2024-05-08T00:18:28Z")

</div>

Awesome, thanks Andrew!

---

<div class="post-metadata">

### Author: ![chiyandetaotie](https://discourse.vtk.org/user_avatar/discourse.vtk.org/chiyandetaotie/32/8843_2.png) [@chiyandetaotie](https://discourse.vtk.org/u/chiyandetaotie)
#### Post date: [May 8, 2024, 11:04am UTC](https://discourse.vtk.org/t/how-to-run-the-python-examples/13855/5 "2024-05-08T11:04:16Z")

</div>

thanks !
