# How to convert code from Java code to Python format T.T

**URL:** <https://forum.inductiveautomation.com/t/how-to-convert-code-from-java-code-to-python-format-t-t/42858>\
**Category:** Ignition\
**Tags:** python\
**Created:** [February 2, 2021, 1:20am UTC](https://forum.inductiveautomation.com/t/how-to-convert-code-from-java-code-to-python-format-t-t/42858 "2021-02-02T01:20:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 2, 2021, 1:45am UTC](https://forum.inductiveautomation.com/t/how-to-convert-code-from-java-code-to-python-format-t-t/42858/2 "2021-02-02T01:45:51Z")

</div>

You already asked this in another topic, yesterday. It is rather rude to repost just because you didn't get the answer written out completely for you.

> [@How to convert Java class to Python T.T](http://forum.inductiveautomation.com/t/how-to-convert-java-class-to-python-t-t/42800):
>
> Can someone tell me how to convert this java classes to python: Java: Help T.T File file = new File("/Users/gim-yuwan/Documents/project/RealResearch-API-BackEnd-Beta/src/main/resources/static/test.json"); BufferedReader reader = new BufferedReader(new FileReader(file)); BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); String s = ""; Stack\<Character\> stack = new Stack\<\>(); boolean flag = false; …

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-convert-code-from-java-code-to-python-format-t-t/42858)._
