- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 895 for python (0.04 sec)
-
docs/pt/docs/environment-variables.md
``` </div> //// ## Ler Variáveis de Ambiente no Python Você também pode criar variáveis de ambiente **fora** do Python, no terminal (ou com qualquer outro método) e depois **lê-las no Python**. Por exemplo, você poderia ter um arquivo `main.py` com: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tip | "Dica"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 10 10:36:42 UTC 2024 - 8.4K bytes - Viewed (0) -
docs/zh/docs/tutorial/extra-models.md
/// //// tab | Python 3.10+ ```Python hl_lines="1 14-15 18-20 33" {!> ../../docs_src/extra_models/tutorial003_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="1 14-15 18-20 33" {!> ../../docs_src/extra_models/tutorial003.py!} ``` //// ## 模型列表 使用同样的方式也可以声明由对象列表构成的响应。 为此,请使用标准的 Python `typing.List`: //// tab | Python 3.9+
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.6K bytes - Viewed (0) -
docs/de/docs/tutorial/response-model.md
//// tab | Python 3.10+ ```Python hl_lines="16 21" {!> ../../docs_src/response_model/tutorial001_01_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="18 23" {!> ../../docs_src/response_model/tutorial001_01_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="18 23" {!> ../../docs_src/response_model/tutorial001_01.py!}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 19.8K bytes - Viewed (0) -
docs/en/docs/tutorial/schema-extra-example.md
//// tab | Python 3.10+ Pydantic v2 ```Python hl_lines="13-24" {!> ../../docs_src/schema_extra_example/tutorial001_py310.py!} ``` //// //// tab | Python 3.10+ Pydantic v1 ```Python hl_lines="13-23" {!> ../../docs_src/schema_extra_example/tutorial001_py310_pv1.py!} ``` //// //// tab | Python 3.8+ Pydantic v2 ```Python hl_lines="15-26"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.6K bytes - Viewed (0) -
docs/de/docs/tutorial/body-updates.md
//// tab | Python 3.10+ ```Python hl_lines="28-33" {!> ../../docs_src/body_updates/tutorial001_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="30-35" {!> ../../docs_src/body_updates/tutorial001_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="30-35" {!> ../../docs_src/body_updates/tutorial001.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.4K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-multiple-params.md
```Python q: Union[str, None] = None ``` Ou como em Python 3.10 e versões superiores: ```Python q: str | None = None ``` Por exemplo: //// tab | Python 3.10+ ```Python hl_lines="26" {!> ../../docs_src/body_multiple_params/tutorial004_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="27"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6K bytes - Viewed (0) -
docs/zh/docs/tutorial/path-params-numeric-validations.md
## 导入 Path 首先,从 `fastapi` 导入 `Path`: //// tab | Python 3.10+ ```Python hl_lines="1 3" {!> ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="1 3" {!> ../../docs_src/path_params_numeric_validations/tutorial001_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="3-4"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.2K bytes - Viewed (0) -
docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md
//// tab | python 3.9+ ```python hl_lines="18-19 26-27" {!> ../../docs_src/dependencies/tutorial008_an_py39.py!} ``` //// //// tab | python 3.8+ ```python hl_lines="17-18 25-26" {!> ../../docs_src/dependencies/tutorial008_an.py!} ``` //// //// tab | python 3.8+ non-annotated /// tip | "Dica" Utilize a versão com `Annotated` se possível. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 15.5K bytes - Viewed (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
//// tab | Python 3.10+ ```Python hl_lines="8 49 56-57 60-61 70-76" {!> ../../docs_src/security/tutorial004_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="8 49 56-57 60-61 70-76" {!> ../../docs_src/security/tutorial004_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="8 50 57-58 61-62 71-77"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 11:45:10 UTC 2024 - 12.8K bytes - Viewed (0) -
docs/pt/docs/virtual-environments.md
<div class="termy"> ```console $ python -m venv .venv ``` </div> /// details | O que esse comando significa * `python`: usa o programa chamado `python` * `-m`: chama um módulo como um script, nós diremos a ele qual módulo vem em seguida * `venv`: usa o módulo chamado `venv` que normalmente vem instalado com o Python
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 10 10:37:13 UTC 2024 - 22.6K bytes - Viewed (0)