Python Forum
from golang to python - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: General (https://python-forum.io/forum-1.html)
+--- Forum: News and Discussions (https://python-forum.io/forum-31.html)
+--- Thread: from golang to python (/thread-23786.html)



from golang to python - Skaperen - Jan-17-2020

i got a bunch of code in the Go language. i don't really want to learn (much) Go. this code makes heavy use of SOAP/XML. i am wondering if there are tools around that could translate much of it to Python (version 3, since version 2 passed away, recently, after a prolonged illness)


RE: from golang to python - jim2007 - Jan-29-2020

Hmmm I don’t know of any tools... but you really need to get a good understanding of what exactly the programs do before trying to translate them. Go makes it easy to write code that does stuff in parallel involving inter process communication and if the developer has made use of those capabilities it can be anything but a straightforward effort to move it to another language.