piptools.subprocess_utils module#

piptools.subprocess_utils.run_python_snippet(python_executable: str, code_to_run: str) str#

Execute Python code by calling python_executable with ā€˜-cā€™ option.