- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 1,038 for Pythons (0.23 seconds)
-
docs/ru/docs/features.md
### Только современный Python { #just-modern-python } Все основано на стандартных **аннотациях типов Python** (благодаря Pydantic). Не нужно изучать новый синтаксис. Только стандартный современный Python. Если вам нужно освежить знания о типах в Python (даже если вы не используете FastAPI), выделите 2 минуты и просмотрите краткое руководство: [Типы Python](python-types.md). Вы пишете стандартный Python с типами:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 15.5K bytes - Click Count (0) -
docs/zh/docs/environment-variables.md
``` </div> //// ## 在 Python 中读取环境变量 { #read-env-vars-in-python } 你也可以在 Python **之外**的终端中创建环境变量(或使用任何其他方法),然后在 Python 中**读取**它们。 例如,你可以创建一个名为 `main.py` 的文件,其中包含以下内容: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tip | 提示 第二个参数是 [`os.getenv()`](https://docs.python.org/3.8/library/os.html#os.getenv) 的默认返回值。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 7.8K bytes - Click Count (0) -
docs/ru/docs/tutorial/extra-models.md
Поэтому, если мы создадим Pydantic-объект `user_in` таким способом: ```Python user_in = UserIn(username="john", password="secret", email="******@****.***") ``` и затем вызовем: ```Python user_dict = user_in.model_dump() ``` то теперь у нас есть `dict` с данными в переменной `user_dict` (это `dict` вместо объекта Pydantic-модели). И если мы вызовем: ```Python print(user_dict) ``` мы получим Python `dict` с:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 10.7K bytes - Click Count (0) -
docs/pt/docs/tutorial/extra-models.md
Então, se criarmos um objeto Pydantic `user_in` como: ```Python user_in = UserIn(username="john", password="secret", email="******@****.***") ``` e depois chamarmos: ```Python user_dict = user_in.model_dump() ``` agora temos um `dict` com os dados na variável `user_dict` (é um `dict` em vez de um objeto de modelo Pydantic). E se chamarmos: ```Python print(user_dict) ``` teríamos um `dict` Python com:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 7.1K bytes - Click Count (0) -
docs/en/docs/environment-variables.md
``` </div> //// ## Read env vars in Python { #read-env-vars-in-python } You could also create environment variables **outside** of Python, in the terminal (or with any other method), and then **read them in Python**. For example you could have a file `main.py` with: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tipCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7.9K bytes - Click Count (0) -
docs/fr/docs/environment-variables.md
Hello Wade Wilson ``` </div> //// ## Lire des variables d'environnement en Python { #read-env-vars-in-python } Vous pouvez également créer des variables d'environnement **en dehors** de Python, dans le terminal (ou par tout autre moyen), puis les **lire en Python**. Par exemple, vous pouvez avoir un fichier `main.py` contenant : ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World")Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 9.1K bytes - Click Count (0) -
docs/de/docs/tutorial/debugging.md
<div class="termy"> ```console $ python myapp.py ``` </div> aber nicht aufgerufen wird, wenn eine andere Datei sie importiert, wie in: ```Python from myapp import app ``` #### Weitere Details { #more-details } Angenommen, Ihre Datei heißt `myapp.py`. Wenn Sie sie mit folgendem Befehl ausführen: <div class="termy"> ```console $ python myapp.py ``` </div>
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 2.7K bytes - Click Count (0) -
docs/uk/docs/tutorial/dependencies/classes-as-dependencies.md
Ключовий момент у тому, що залежність має бути «викликаємим». «Викликаємий» у Python - це будь-що, що Python може «викликати», як функцію. Отже, якщо у вас є об’єкт `something` (який може й не бути функцією) і ви можете «викликати» його (виконати) так: ```Python something() ``` або ```Python something(some_argument, some_keyword_argument="foo") ``` тоді це «викликаємий».
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:43:14 GMT 2026 - 9.7K bytes - Click Count (0) -
docs/tr/docs/virtual-environments.md
/home/user/code/awesome-project/.venv/bin/python ``` </div> //// //// tab | Windows PowerShell <div class="termy"> ```console $ Get-Command python C:\Users\user\code\awesome-project\.venv\Scripts\python ``` </div> //// Bu, kullanılacak `python` programının **virtual environment'in içindeki** Python olduğu anlamına gelir.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 23.5K bytes - Click Count (0) -
.github/workflows/build-docs.yml
runs-on: ubuntu-latest outputs: langs: ${{ steps.show-langs.outputs.langs }} steps: - uses: actions/checkout@v6 - name: Set up Python uses: actions/setup-python@v6 with: python-version-file: ".python-version" - name: Setup uv uses: astral-sh/setup-uv@v7 with: enable-cache: true cache-dependency-glob: |Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 14 15:01:34 GMT 2026 - 3.3K bytes - Click Count (0)