# Is there any easy way to translate paraview's Python code to c++?

**URL:** https://discourse.paraview.org/t/is-there-any-easy-way-to-translate-paraviews-python-code-to-c/6920
**Category:** ParaView Support
**Created:** [April 9, 2021, 8:17pm UTC](https://discourse.paraview.org/t/is-there-any-easy-way-to-translate-paraviews-python-code-to-c/6920 "2021-04-09T20:17:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![IrinaZhuang](https://discourse.paraview.org/user_avatar/discourse.paraview.org/irinazhuang/32/6403_2.png) [@IrinaZhuang](https://discourse.paraview.org/u/IrinaZhuang)
#### Post date: [April 9, 2021, 8:17pm UTC](https://discourse.paraview.org/t/is-there-any-easy-way-to-translate-paraviews-python-code-to-c/6920/1 "2021-04-09T20:17:00Z")

</div>

As titled, I was currently asked to use c++ to finish my project, but I have already done it in python. So I would like to know if there is some easy way to translate python code to c++, given that paraview was written in c++.  
Just code that calls api in paraview.simple.

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [April 9, 2021, 8:27pm UTC](https://discourse.paraview.org/t/is-there-any-easy-way-to-translate-paraviews-python-code-to-c/6920/2 "2021-04-09T20:27:06Z")

</div>

Alas, there isn’t an equivalent simple layer in C++. It would make sense to have such a layer and then wrapping it in Python, but that’s not the case at present.
