Since some print statements can be parsed as function calls or statements, 2to3cannot always read files containing the print function. When 2to3 detects thepresence of the from __future__ import print_function compiler directive, itmodifies its internal grammar to interpret print() as a function. Thischange can also be enabled manually with the -p flag. Use-p to run fixers on code that already has had its print statementsconverted. Also -e can be used to make exec() a function.