def _enable_autopx(self):
<EOL>self._original_run_cell = self.shell.run_cell<EOL>self.shell.run_cell = self.pxrun_cell<EOL>self._autopx = True<EOL>print("<STR_LIT>")<EOL>
Enable %autopx mode by saving the original run_cell and installing
        pxrun_cell.