1

Is there a library/tool to convert python code into readable go code which needs manual adjustment after conversion.

What I am looking for is a library/tool which can do partial semi-automatic conversion of python code into readable go code. Its totally fine that the converted code will need human corrections/adjustments afterwards.

Have checked grumpy, but its a dead project and the code is not readable after conversion.

1

One such tool is pytogo

According to its readme

pytogo is a fast, crude, incomplete Python-to-Go translator meant to assist a human programmer in translating large volumes of Python to idiomatic Go, preserving comments and structure. It does the mechanical things that are easy for software but hard for humans, leaving a human free to concentrate on the hard parts like type annotations.

| improve this answer | |
  • If there is no better answer after a few days, please accept your own, as that will help others who read this question in future – Mawg says reinstate Monica Feb 28 at 7:38
  • 1
    @MawgsaysreinstateMonica yes I will – Levon Mar 2 at 17:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.