# Python-to-Julia (and more) translator - py2many

**URL:** https://discourse.julialang.org/t/python-to-julia-and-more-translator-py2many/81327
**Category:** General Usage
**Created:** [May 19, 2022, 7:12pm UTC](https://discourse.julialang.org/t/python-to-julia-and-more-translator-py2many/81327 "2022-05-19T19:12:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)
#### Post date: [May 19, 2022, 7:12pm UTC](https://discourse.julialang.org/t/python-to-julia-and-more-translator-py2many/81327/1 "2022-05-19T19:12:56Z")

</div>

I thought it was intriguing:

> **[GitHub - py2many/py2many: Transpiler of Python to many other languages](https://github.com/py2many/py2many)**
>
> Transpiler of Python to many other languages. Contribute to py2many/py2many development by creating an account on GitHub.

> Preliminary support exists for Julia, Kotlin, Nim, Go and Dart.
> 
> py2many can also emit Python 3 code that includes inferred type annotations, and revisions to the syntax intended to simplify parsing of the code.

I wouldn’t say Julia is “CLike” (at least syntax-wise, while semantically a superset, also supporting Libc.mallog and free, while not much used that way).

I don’t know how good this translator is for Julia (or other languages), it really can’t compile to Julia and the code be fast (it’s not possible in general, see Julia docs), so neither for other languages. But it might be fast enough.

---

<div class="post-metadata">

### Author: ![Christopher\_Fisher](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/christopher_fisher/32/26132_2.png) [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)
#### Post date: [May 19, 2022, 8:02pm UTC](https://discourse.julialang.org/t/python-to-julia-and-more-translator-py2many/81327/2 "2022-05-19T20:02:32Z")

</div>

It seems like it would be challenging to incorporate the correct structure and idioms into the translator.
