Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (16.4k points)
recategorized by

I would be thankful in the event that you could tell me how one can translate a code from Java to python. 

Should one do it physically/manually ? is there any device/tool to change over it consequently?

1 Answer

0 votes
by (26.4k points)
edited by

In the event that you need to make a translation of java code to python, you need to translate it manually. Generally, Automatic conversion doesn't have the fitting quality. It would appear that there are a few tools out for example java2python however the creator states

The python code which is generated is not guaranteed to execute, nor is guaranteed to be syntactically valid Python.

It is not an easy task of converting a library into another programming language

On the off chance that you essentially need to utilize a java library in an application that you need to write in python, you could check Jython out.

Want to become an expert in python? Join the python course fast!

Related questions

+1 vote
1 answer
asked Oct 30, 2019 in Python by humble gumble (19.4k points)
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Browse Categories

...