Simplify the code that invokes the Python interpreter.