piptools._internal._subprocess module

piptools._internal._subprocess.run_python_snippet(python_executable: str, code_to_run: str) str

Execute Python code by calling python_executable with ‘-c’ option.