@rpc_export('<STR_LIT>', sync=True)<EOL><INDENT>def python_execute_file(self, file_path, range_start, range_stop):<DEDENT>
self._set_current_range(range_start, range_stop)<EOL>with open(file_path) as f:<EOL><INDENT>script = compile(f.read(), file_path, '<STR_LIT>')<EOL>try:<EOL><INDENT>exec(script, self.module.__dict__)<EOL><DEDENT>except Exception:<EOL><INDENT>raise ErrorResponse(format_exc_skip(<NUM_LIT:1>))<EOL><DEDENT><DEDENT>
Handle the `pyfile` ex command.