# Replication code of a fortran code

**URL:** <https://fortran-lang.discourse.group/t/replication-code-of-a-fortran-code/10319>\
**Category:** Help\
**Created:** [August 8, 2025, 10:32am UTC](https://fortran-lang.discourse.group/t/replication-code-of-a-fortran-code/10319 "2025-08-08T10:32:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![roham](https://avatars.discourse-cdn.com/v4/letter/r/a587f6/32.png) [@roham](https://fortran-lang.discourse.group/u/roham)\
**Post date:** [August 8, 2025, 10:32am UTC](https://fortran-lang.discourse.group/t/replication-code-of-a-fortran-code/10319/1 "2025-08-08T10:32:24Z")

</div>

Hi. I want to replicate a paper, that has been written in fortran. I want it in python.It’s about Rl and Q-learning. does anybody can help? I really need this and would appreciate if somebody help me.

---

<div class="post-metadata">

**Author:** ![jorgeg](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/jorgeg/32/6835_2.png) [@jorgeg](https://fortran-lang.discourse.group/u/jorgeg)\
**Post date:** [August 8, 2025, 10:34am UTC](https://fortran-lang.discourse.group/t/replication-code-of-a-fortran-code/10319/2 "2025-08-08T10:34:04Z")

</div>

Hello, thanks for confirming you’re not a bot. The Fortran discourse is for promotion of Fortran. I’m not sure translating a Fortran code into Python would be our cup of tea!

What’s wrong with Fortran?

---

<div class="post-metadata">

**Author:** ![vmagnin](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/vmagnin/32/28_2.png) [@vmagnin](https://fortran-lang.discourse.group/u/vmagnin)\
**Post date:** [August 8, 2025, 10:40am UTC](https://fortran-lang.discourse.group/t/replication-code-of-a-fortran-code/10319/3 "2025-08-08T10:40:04Z")

</div>

This page could help:

> **[Python Fortran Rosetta Stone — Fortran Programming Language](https://fortran-lang.org/learn/rosetta_stone/)**
>
> Fortran : High-performance parallel programming language

---

<div class="post-metadata">

**Author:** ![roham](https://avatars.discourse-cdn.com/v4/letter/r/a587f6/32.png) [@roham](https://fortran-lang.discourse.group/u/roham)\
**Post date:** [August 8, 2025, 10:50am UTC](https://fortran-lang.discourse.group/t/replication-code-of-a-fortran-code/10319/4 "2025-08-08T10:50:58Z")

</div>

Thanks for approving  
I really need this transformation cause it’s my brother’s task and he is injured and cannot use laptop for weeks. I do not know enough to translate. I just want to ask someone do it for me to just help him. I don’t know why he should do it in Python.

---

<div class="post-metadata">

**Author:** ![roham](https://avatars.discourse-cdn.com/v4/letter/r/a587f6/32.png) [@roham](https://fortran-lang.discourse.group/u/roham)\
**Post date:** [August 8, 2025, 10:51am UTC](https://fortran-lang.discourse.group/t/replication-code-of-a-fortran-code/10319/5 "2025-08-08T10:51:55Z")

</div>

Thank you  
sorry for asking. I wonder if you could help me do it to transform all the code to python. or I can send you paper for replication.

---

<div class="post-metadata">

**Author:** ![vmagnin](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/vmagnin/32/28_2.png) [@vmagnin](https://fortran-lang.discourse.group/u/vmagnin)\
**Post date:** [August 8, 2025, 11:50am UTC](https://fortran-lang.discourse.group/t/replication-code-of-a-fortran-code/10319/6 "2025-08-08T11:50:37Z")

</div>

> [@roham](#):
>
> I wonder if you could help me do it to transform all the code to python. or I can send you paper for replication.

Sorry @roham , I can not help for the moment…  
Maybe tools like ChatGPT could help you translating.

---

<div class="post-metadata">

**Author:** ![fxm](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/fxm/32/5726_2.png) [@fxm](https://fortran-lang.discourse.group/u/fxm)\
**Post date:** [August 8, 2025, 11:59am UTC](https://fortran-lang.discourse.group/t/replication-code-of-a-fortran-code/10319/7 "2025-08-08T11:59:46Z")

</div>

Hi @roham,  
Please be mindful of what you ask of others. Yes, many of us are happy to spend the often very limited free time we have on open-source software and Fortran. That said, I hope you can appreciate that asking someone to spend a (possibly) significant amount of time on the translation of Fortran code into another language - something that’s often ill-informed and potentially detrimental to the language we’re passionate about - is not something many here would be excited about. I recommend you consider the resources shared by @vmagnin.
