Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for __init__ (0.2 sec)

  1. docs/zh/docs/tutorial/sql-databases.md

        在文档中也有一篇使用 Peewee 的等效的文章。
    
    ## 文件结构
    
    对于这些示例,假设您有一个名为的目录`my_super_project`,其中包含一个名为的子目录`sql_app`,其结构如下:
    
    ```
    .
    └── sql_app
        ├── __init__.py
        ├── crud.py
        ├── database.py
        ├── main.py
        ├── models.py
        └── schemas.py
    ```
    
    该文件`__init__.py`只是一个空文件,但它告诉 Python 其中`sql_app`的所有模块(Python 文件)都是一个包。
    
    现在让我们看看每个文件/模块的作用。
    
    ## 安装 SQLAlchemy
    
    先下载`SQLAlchemy`所需要的依赖:
    
    <div class="termy">
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 27K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/sql-databases.md

    ## 📁 📊
    
    👫 🖼, ➡️ 💬 👆 ✔️ 📁 📛 `my_super_project` 👈 🔌 🎧-📁 🤙 `sql_app` ⏮️ 📊 💖 👉:
    
    ```
    .
    └── sql_app
        ├── __init__.py
        ├── crud.py
        ├── database.py
        ├── main.py
        ├── models.py
        └── schemas.py
    ```
    
    📁 `__init__.py` 🛁 📁, ✋️ ⚫️ 💬 🐍 👈 `sql_app` ⏮️ 🌐 🚮 🕹 (🐍 📁) 📦.
    
    🔜 ➡️ 👀 ⚫️❔ 🔠 📁/🕹 🔨.
    
    ## ❎ `SQLAlchemy`
    
    🥇 👆 💪 ❎ `SQLAlchemy`:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 25.2K bytes
    - Viewed (1)
  3. docs/en/docs/tutorial/sql-databases.md

    ```
    .
    └── sql_app
        ├── __init__.py
        ├── crud.py
        ├── database.py
        ├── main.py
        ├── models.py
        └── schemas.py
    ```
    
    The file `__init__.py` is just an empty file, but it tells Python that `sql_app` with all its modules (Python files) is a package.
    
    Now let's see what each file/module does.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
Back to top