Home
last modified time | relevance | path

Searched refs:runpy (Results 1 – 25 of 43) sorted by relevance

12

/external/python/cpython3/Android/testbed/app/src/main/python/
Dmain.py2 import runpy
32 runpy.run_module("test")
/external/fonttools/Lib/fontTools/
D__main__.py29 import runpy
31 runpy.run_module(mod, run_name="__main__")
/external/python/cpython3/Modules/
Dmain.c317 PyObject *module, *runpy, *runmodule, *runargs, *result; in pymain_run_module() local
321 runpy = PyImport_ImportModule("runpy"); in pymain_run_module()
322 if (runpy == NULL) { in pymain_run_module()
326 runmodule = PyObject_GetAttrString(runpy, "_run_module_as_main"); in pymain_run_module()
329 Py_DECREF(runpy); in pymain_run_module()
335 Py_DECREF(runpy); in pymain_run_module()
343 Py_DECREF(runpy); in pymain_run_module()
353 Py_DECREF(runpy); in pymain_run_module()
DSetup.bootstrap.in16 # modules used by importlib, deepfreeze, freeze, runpy, and sysconfig
/external/python/cpython3/Lib/multiprocessing/
Dspawn.py13 import runpy
268 main_content = runpy.run_module(mod_name,
297 main_content = runpy.run_path(main_path,
/external/python/cpython3/Doc/library/
Drunpy.rst1 :mod:`!runpy` --- Locating and executing Python modules
4 .. module:: runpy
9 **Source code:** :source:`Lib/runpy.py`
13 The :mod:`runpy` module is used to locate and run Python modules without
23 guaranteed to work correctly after a :mod:`runpy` function has returned.
27 The :mod:`runpy` module provides two functions:
Dmodules.rst18 runpy.rst
Dcmdline.rst40 * :mod:`runpy`
Dtracemalloc.rst173 File "/usr/lib/python3.4/runpy.py", line 73
175 File "/usr/lib/python3.4/runpy.py", line 160
D__main__.rst264 See :mod:`runpy` for more details on the :option:`-m` flag to the
/external/python/cpython3/Lib/
DcProfile.py137 import runpy
168 'run_module': runpy.run_module,
Dprofile.py584 import runpy
587 'run_module': runpy.run_module,
Dtrace.py717 import runpy
719 mod_name, mod_spec, code = runpy._get_module_details(module_name)
Dpdb.py217 import runpy
219 _, self._spec, self._code = runpy._get_module_details(self._target)
252 import runpy
257 _, self._spec, self._code = runpy._get_main_module_details()
/external/bazelbuild-rules_python/python/private/
Dstage2_bootstrap_template.py22 import runpy
266 runpy.run_path(main_filename, run_name="__main__")
/external/pytorch/torch/distributed/
Drun.py883 import runpy
887 runpy.run_path(sys.argv[0], run_name="__main__")
/external/pytorch/test/distributed/launcher/
Dtest_run.py12 import runpy
590 runpy.run_path(sys.argv[0], run_name="__main__")
/external/python/cpython3/Lib/test/
Dtest_runpy.py22 import runpy
23 from runpy import _run_code, _run_module_code, run_module, run_path
59 "runpy": runpy,
/external/python/pyfakefs/pyfakefs/tests/
Dfake_filesystem_unittest_test.py27 import runpy
814 retval += runpy.run_path(config)
816 retval += runpy.run_module(config)
/external/python/cpython3/.github/
DCODEOWNERS117 **/*runpy* @ericsnowcurrently
/external/pytorch/torch/testing/_internal/
Dcommon_device_type.py7 import runpy
796 mod = runpy.run_path(path, init_globals=globals()) # type: ignore[func-returns-value]
/external/python/cpython3/Misc/NEWS.d/
D3.9.0a5.rst505 The ``ensurepip`` module now invokes ``pip`` via the ``runpy`` module. Hence
655 Fix runpy.run_path() when using pathlike objects
D3.5.2rc1.rst1458 initialization fails, a proper traceback is now reported. The "runpy"
1469 Also in runpy and the "-m" option, omit the irrelevant message ". . . is a
D3.11.0b1.rst1815 Improve the docstrings of :func:`runpy.run_module` and
1816 :func:`runpy.run_path`. Original patch by Andrew Brezovsky.
/external/python/cpython3/
DMakefile.pre.in1495 Lib/runpy.py \
1520 Python/frozen_modules/runpy.h \
1590 Python/frozen_modules/runpy.h: Lib/runpy.py $(FREEZE_MODULE_DEPS)
1591 $(FREEZE_MODULE) runpy $(srcdir)/Lib/runpy.py Python/frozen_modules/runpy.h

12