- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for __init__ (0.04 sec)
-
docs/em/docs/tutorial/bigger-applications.md
/// ## 🖼 📁 📊 ➡️ 💬 👆 ✔️ 📁 📊 💖 👉: ``` . ├── app │ ├── __init__.py │ ├── main.py │ ├── dependencies.py │ └── routers │ │ ├── __init__.py │ │ ├── items.py │ │ └── users.py │ └── internal │ ├── __init__.py │ └── admin.py ``` /// tip 📤 📚 `__init__.py` 📁: 1️⃣ 🔠 📁 ⚖️ 📁. 👉 ⚫️❔ ✔ 🏭 📟 ⚪️➡️ 1️⃣ 📁 🔘 ➕1️⃣.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun May 11 13:37:26 UTC 2025 - 15.5K bytes - Viewed (0) -
docs/en/docs/tutorial/bigger-applications.md
Let's say you have a file structure like this: ``` . ├── app │ ├── __init__.py │ ├── main.py │ ├── dependencies.py │ └── routers │ │ ├── __init__.py │ │ ├── items.py │ │ └── users.py │ └── internal │ ├── __init__.py │ └── admin.py ``` /// tip There are several `__init__.py` files: one in each directory or subdirectory.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 19.1K bytes - Viewed (0) -
docs/es/docs/tutorial/bigger-applications.md
Digamos que tienes una estructura de archivos como esta: ``` . ├── app │ ├── __init__.py │ ├── main.py │ ├── dependencies.py │ └── routers │ │ ├── __init__.py │ │ ├── items.py │ │ └── users.py │ └── internal │ ├── __init__.py │ └── admin.py ``` /// tip | Consejo Hay varios archivos `__init__.py`: uno en cada directorio o subdirectorio.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun May 11 13:37:26 UTC 2025 - 19.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/bigger-applications.md
Digamos que você tenha uma estrutura de arquivos como esta: ``` . ├── app │ ├── __init__.py │ ├── main.py │ ├── dependencies.py │ └── routers │ │ ├── __init__.py │ │ ├── items.py │ │ └── users.py │ └── internal │ ├── __init__.py │ └── admin.py ``` /// tip | Dica Existem vários arquivos `__init__.py` presentes em cada diretório ou subdiretório.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun May 11 13:37:26 UTC 2025 - 19.6K bytes - Viewed (0) -
docs/de/docs/tutorial/bigger-applications.md
Nehmen wir an, Sie haben eine Dateistruktur wie diese: ``` . ├── app │ ├── __init__.py │ ├── main.py │ ├── dependencies.py │ └── routers │ │ ├── __init__.py │ │ ├── items.py │ │ └── users.py │ └── internal │ ├── __init__.py │ └── admin.py ``` /// tip | Tipp Es gibt mehrere `__init__.py`-Dateien: eine in jedem Verzeichnis oder Unterverzeichnis.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun May 11 13:37:26 UTC 2025 - 21K bytes - Viewed (0) -
docs/ru/docs/tutorial/bigger-applications.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ ├── dependencies.py │ └── routers │ │ ├── __init__.py │ │ ├── items.py │ │ └── users.py │ └── internal │ ├── __init__.py │ └── admin.py ``` /// tip | Подсказка Обратите внимание, что в каждом каталоге и подкаталоге имеется файл `__init__.py`
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun May 11 13:37:26 UTC 2025 - 30.5K bytes - Viewed (0) -
docs/ru/docs/tutorial/testing.md
Также у Вас может быть файл `test_main.py` содержащий тесты. Можно разместить тестовый файл и файл приложения в одной директории (в директориях для Python-кода желательно размещать и файл `__init__.py`): ``` hl_lines="5" . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` Так как оба файла находятся в одной директории, для импорта объекта приложения из файла `main` в файл `test_main` Вы можете использовать относительный импорт:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.1K bytes - Viewed (0) -
docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md
в таком случае он является "вызываемым". ## Классы как зависимости Вы можете заметить, что для создания экземпляра класса в Python используется тот же синтаксис. Например: ```Python class Cat: def __init__(self, name: str): self.name = name fluffy = Cat(name="Mr Fluffy") ``` В данном случае `fluffy` является экземпляром класса `Cat`. А чтобы создать `fluffy`, вы "вызываете" `Cat`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.4K bytes - Viewed (0) -
docs/zh-hant/docs/tutorial/first-steps.md
<font color="#3465A4">INFO </font> Searching for package file structure from directories with <font color="#3465A4">__init__.py</font> files <font color="#3465A4">INFO </font> Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font> ╭─ <font color="#8AE234"><b>Python module file</b></font> ─╮
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 09 12:20:58 UTC 2024 - 11.6K bytes - Viewed (0) -
docs/em/docs/deployment/docker.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Aug 12 21:47:53 UTC 2024 - 27.9K bytes - Viewed (0)