- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 787 for py (0.01 sec)
-
docs/de/docs/advanced/settings.md
Sie könnten beispielsweise eine Datei `config.py` haben mit: {* ../../docs_src/settings/app01/config.py *} Und dann verwenden Sie diese in einer Datei `main.py`: {* ../../docs_src/settings/app01/main.py hl[3,11:13] *} /// tip | TippRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 16.4K bytes - Viewed (0) -
docs/pt/docs/advanced/async-tests.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` O arquivo `main.py` teria: {* ../../docs_src/async_tests/main.py *} O arquivo `test_main.py` teria os testes para para o arquivo `main.py`, ele poderia ficar assim: {* ../../docs_src/async_tests/test_main.py *} ## Executá-lo Você pode executar os seus testes normalmente via:Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/fr/docs/tutorial/debugging.md
{* ../../docs_src/debugging/tutorial001.py hl[1,15] *} ### À propos de `__name__ == "__main__"` Le but principal de `__name__ == "__main__"` est d'avoir du code qui est exécuté lorsque votre fichier est appelé avec : <div class="termy"> ```console $ python myapp.py ``` </div> mais qui n'est pas appelé lorsqu'un autre fichier l'importe, comme dans :Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Oct 27 17:31:14 UTC 2024 - 2.9K bytes - Viewed (0) -
docs/en/docs/advanced/async-tests.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` The file `main.py` would have: {* ../../docs_src/async_tests/main.py *} The file `test_main.py` would have the tests for `main.py`, it could look like this now: {* ../../docs_src/async_tests/test_main.py *} ## Run it { #run-it } You can run your tests as usual via:Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.9K bytes - Viewed (0) -
docs/de/docs/advanced/async-tests.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` Die Datei `main.py` hätte als Inhalt: {* ../../docs_src/async_tests/main.py *} Die Datei `test_main.py` hätte die Tests für `main.py`, das könnte jetzt so aussehen: {* ../../docs_src/async_tests/test_main.py *} ## Es ausführen Sie können Ihre Tests wie gewohnt ausführen mit:Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.3K bytes - Viewed (1) -
docs/uk/docs/tutorial/debugging.md
{* ../../docs_src/debugging/tutorial001.py hl[1,15] *} ### Про `__name__ == "__main__"` Головна мета використання `__name__ == "__main__"` — це забезпечення виконання певного коду тільки тоді, коли файл запускається безпосередньо: <div class="termy"> ```console $ python myapp.py ``` </div> але не виконується при його імпорті в інший файл, наприклад:Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Feb 28 14:24:45 UTC 2025 - 3.6K bytes - Viewed (0) -
docs/ru/docs/python-types.md
{* ../../docs_src/python_types/tutorial003.py hl[1] *} Поскольку редактор знает типы переменных, вы получаете не только дополнение, но и проверки ошибок: <img src="/img/python-types/image04.png"> Теперь вы знаете, что вам нужно исправить, преобразовав `age` в строку с `str(age)`: {* ../../docs_src/python_types/tutorial004.py hl[2] *} ## Объявление типовRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 14.3K bytes - Viewed (0) -
docs/ru/docs/tutorial/sql-databases.md
{* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[48:55] hl[51:52,54] *} ### Чтение данных отдельного героя Мы можем прочитать данные отдельного героя (`Hero`). {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[58:63] hl[60] *} ### Удаление данных героя Мы также можем удалить героя `Hero` из базы данных. {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[66:73] hl[71] *} ### Запуск приложенияRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Dec 17 21:20:20 UTC 2024 - 25.7K bytes - Viewed (0) -
docs/bn/docs/python-types.md
```Python hl_lines="1" {!> ../../docs_src/python_types/tutorial009_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="1 4" {!> ../../docs_src/python_types/tutorial009.py!} ``` //// //// tab | Python 3.8+ বিকল্প ```Python hl_lines="1 4" {!> ../../docs_src/python_types/tutorial009b.py!} ``` //// #### `Union` বা `Optional` ব্যবহারRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 35.6K bytes - Viewed (0) -
docs/es/docs/tutorial/debugging.md
En tu aplicación de FastAPI, importa y ejecuta `uvicorn` directamente: {* ../../docs_src/debugging/tutorial001.py hl[1,15] *} ### Acerca de `__name__ == "__main__"` El objetivo principal de `__name__ == "__main__"` es tener algo de código que se ejecute cuando tu archivo es llamado con: <div class="termy"> ```console $ python myapp.py ``` </div> pero no es llamado cuando otro archivo lo importa, como en: ```PythonRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 2.5K bytes - Viewed (0)