Lines Matching refs:path_name
197 def _get_importer(path_name): argument
201 importer = cache[path_name]
206 cache[path_name] = None
209 importer = hook(path_name)
219 importer = imp.NullImporter(path_name)
222 cache[path_name] = importer
235 def run_path(path_name, init_globals=None, run_name=None): argument
247 importer = _get_importer(path_name)
251 code = _get_code_from_file(path_name)
252 return _run_module_code(code, init_globals, run_name, path_name)
256 sys.path.insert(0, path_name)
273 _ModifiedArgv0(path_name):
279 sys.path.remove(path_name)