class_docstr: A context for prepending a directory to sys.path for a second.
class_docstr_tok: ["A","context","for","prepending","a","directory","to","sys.path","for","a","second","."]
code: def __enter__(self):
      if self._script_path not in sys.path:
          sys.path.insert(0, self._script_path)
          self._added_path = True
  
file_path: gradio/js/wasm/src/webworker/py/script_runner.py
imports: import ast
  import os
  import sys
  import tokenize
  import types
  from inspect import CO_COROUTINE
  from gradio.wasm_utils import app_id_context
label_desc: Use image node_id 2 for calling the modified_sys_path obj's underlying member method code with example usage: obj.__enter__() without return types