Answer the question
In order to leave comments, you need to log in
How to replace all print methods from python2 with print() function from python3 in Sublime Text?
In general, it all started with the fact that I wanted to run Wifite, famous among coolhackers, in Termux (Linux terminal emulator), but the fact is that python2 is not installed on termux, only version 3 which cannot run Wifite because it was written under version 2 of python, so I decided to go the other way and change the entire wifite.py file to version 3 of python, but I would like to do it quickly because there are just seas of such print methods. Yes, I'm a pervert, but still, I would like to know if there is a way to quickly do this in the Sublime Text text editor?
PS The difficulty lies in the fact that you need to not just replace print with print (), but do it so that all parameters are in brackets while
Answer the question
In order to leave comments, you need to log in
Python 3 differs from Python 2 in more than just print. So just don't port the program.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question