Replace execfile with exec_file.
Wrap print statements with parens.
Add troves.