add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

20
pages.zh/common/venv.md Normal file
View File

@@ -0,0 +1,20 @@
# venv
> 在 Python 中创建轻量级虚拟环境。
> 更多信息:<https://docs.python.org/3/library/venv.html>。
- 创建一个 Python 虚拟环境:
`python -m venv {{path/to/virtual_environment}}`
- 激活虚拟环境Linux 和 macOS
`source {{path/to/virtual_environment}}/bin/activate`
- 激活虚拟环境Windows
`{{path\to\virtual_environment}}\Scripts\activate.bat`
- 退出虚拟环境:
`deactivate`