Module python_util

Source
Expand description

utilities for calling CPython.

CPythonを呼び出すためのユーティリティー

Structs§

PythonVersion

Constants§

BUILTIN_PYTHON_MODS
EXT_COMMON_ALIAS
EXT_PYTHON_MODS

Functions§

_eval_pyc
evaluates over a shell, cause python may not exist as an executable file (like pyenv)
_opt_which_python
detect_magic_number
env_magic_number
env_python_version
env_spawn_py
exec_py
exec_py_code
exec_py_code_with_output
exec_pyc
executes over a shell, cause python may not exist as an executable file (like pyenv)
exec_pyc_code
get_python_version
get_sys_path
module_exists
spawn_py