Mostly exec and execfile, but also StandardError and sys_exc. 2to3 . --fix exec -wpn '' execfile '' '' sys_exc '' '' standarderror '' Ref: https://docs.python.org/3/whatsnew/3.0.html
2to3 . --fix print -wn Essentially, print is a function instead of statement. Ref: PEP 3105 https://peps.python.org/pep-3105/