Lines Matching refs:path_name
185 def _get_importer(path_name):
189 importer = cache[path_name]
194 cache[path_name] = None
197 importer = hook(path_name)
207 importer = imp.NullImporter(path_name)
210 cache[path_name] = importer
223 def run_path(path_name, init_globals=None, run_name=None):
235 importer = _get_importer(path_name)
239 code = _get_code_from_file(path_name)
240 return _run_module_code(code, init_globals, run_name, path_name)
244 sys.path.insert(0, path_name)
261 _ModifiedArgv0(path_name):
267 sys.path.remove(path_name)