Brainwave
Published in

Brainwave

After Python2 Death, How to (Automatically) Convert Your Code Into Python3

With 2to3 library

Photo by Jan Kopřiva on Unsplash

Since January 1, 2020 Python2 has been no longer supported nor maintained. This means no improvement to Python2 should happen after that day even if someone finds a security problem in it. If you still have projects/applications written in Python2, you should start converting them. In this tutorial, I’ll…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store