Searched refs:runpy (Results 1 – 25 of 43) sorted by relevance
12
/external/python/cpython3/Android/testbed/app/src/main/python/ |
D | main.py | 2 import runpy 32 runpy.run_module("test")
|
/external/fonttools/Lib/fontTools/ |
D | __main__.py | 29 import runpy 31 runpy.run_module(mod, run_name="__main__")
|
/external/python/cpython3/Modules/ |
D | main.c | 317 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()
|
D | Setup.bootstrap.in | 16 # modules used by importlib, deepfreeze, freeze, runpy, and sysconfig
|
/external/python/cpython3/Lib/multiprocessing/ |
D | spawn.py | 13 import runpy 268 main_content = runpy.run_module(mod_name, 297 main_content = runpy.run_path(main_path,
|
/external/python/cpython3/Doc/library/ |
D | runpy.rst | 1 :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:
|
D | modules.rst | 18 runpy.rst
|
D | cmdline.rst | 40 * :mod:`runpy`
|
D | tracemalloc.rst | 173 File "/usr/lib/python3.4/runpy.py", line 73 175 File "/usr/lib/python3.4/runpy.py", line 160
|
D | __main__.rst | 264 See :mod:`runpy` for more details on the :option:`-m` flag to the
|
/external/python/cpython3/Lib/ |
D | cProfile.py | 137 import runpy 168 'run_module': runpy.run_module,
|
D | profile.py | 584 import runpy 587 'run_module': runpy.run_module,
|
D | trace.py | 717 import runpy 719 mod_name, mod_spec, code = runpy._get_module_details(module_name)
|
D | pdb.py | 217 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/ |
D | stage2_bootstrap_template.py | 22 import runpy 266 runpy.run_path(main_filename, run_name="__main__")
|
/external/pytorch/torch/distributed/ |
D | run.py | 883 import runpy 887 runpy.run_path(sys.argv[0], run_name="__main__")
|
/external/pytorch/test/distributed/launcher/ |
D | test_run.py | 12 import runpy 590 runpy.run_path(sys.argv[0], run_name="__main__")
|
/external/python/cpython3/Lib/test/ |
D | test_runpy.py | 22 import runpy 23 from runpy import _run_code, _run_module_code, run_module, run_path 59 "runpy": runpy,
|
/external/python/pyfakefs/pyfakefs/tests/ |
D | fake_filesystem_unittest_test.py | 27 import runpy 814 retval += runpy.run_path(config) 816 retval += runpy.run_module(config)
|
/external/python/cpython3/.github/ |
D | CODEOWNERS | 117 **/*runpy* @ericsnowcurrently
|
/external/pytorch/torch/testing/_internal/ |
D | common_device_type.py | 7 import runpy 796 mod = runpy.run_path(path, init_globals=globals()) # type: ignore[func-returns-value]
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.9.0a5.rst | 505 The ``ensurepip`` module now invokes ``pip`` via the ``runpy`` module. Hence 655 Fix runpy.run_path() when using pathlike objects
|
D | 3.5.2rc1.rst | 1458 initialization fails, a proper traceback is now reported. The "runpy" 1469 Also in runpy and the "-m" option, omit the irrelevant message ". . . is a
|
D | 3.11.0b1.rst | 1815 Improve the docstrings of :func:`runpy.run_module` and 1816 :func:`runpy.run_path`. Original patch by Andrew Brezovsky.
|
/external/python/cpython3/ |
D | Makefile.pre.in | 1495 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