dcsimg
Linux Today: Linux News On Internet Time.





Converting your Python 2 code to Python 3

Mar 30, 2020, 12:00 (0 Talkback[s])
(Other stories by Grothe)

Python 2 reached the end of life on January 1, 2020. Python 3 has been available since 2008, but converting from 2 to 3 has been slow because of dependencies on libraries that were not available in Python 3 initially. This tutorial will show you how to convert Python 2 code to Python 3 using the 2to3 tool.

Complete Story