nb_cli.handlers.venv
def detect_virtualenv(cwd=None)
参数
cwd
(Path | None)
返回
- str | None
async def create_virtualenv(venv_dir, prompt=None, *, python_path=None)
参数
venv_dir
(Path)prompt
(str | None)python_path
(str | None)
返回
- untyped