Reem Aljunaid Reem Aljunaid - 2 years ago 113
Python Question

Converting code from python 2 to python 3

I want to use this tool (GoldenEye) but it has more than 20 syntax errors, I have no idea about python but after searching it seems that the problem in the different versions of python, each has different syntax.

I want to convert this entire code to fully python 3!1233&authkey=!AMIeALa7x704Orc&ithint=file%2cpy

Answer Source

2to3 will automatically convert Python 2 code into Python 3 code (documentation here). Also consider simply installing and using Python 2 for this, if feasible for your project.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download