Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 681 for Python3 (0.03 sec)

  1. docs/pt/docs/tutorial/debugging.md

    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    mas não é chamado quando outro arquivo o importa, como em:
    
    ```Python
    from myapp import app
    ```
    
    #### Mais detalhes
    
    Digamos que seu arquivo se chama `myapp.py`.
    
    Se você executá-lo com:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. docs/fr/docs/tutorial/debugging.md

    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    mais qui n'est pas appelé lorsqu'un autre fichier l'importe, comme dans :
    
    ```Python
    from myapp import app
    ```
    
    #### Pour davantage de détails
    
    Imaginons que votre fichier s'appelle `myapp.py`.
    
    Si vous l'exécutez avec :
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Oct 27 17:31:14 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/extra-models.md

    So, if we create a Pydantic object `user_in` like:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    and then we call:
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    we now have a `dict` with the data in the variable `user_dict` (it's a `dict` instead of a Pydantic model object).
    
    And if we call:
    
    ```Python
    print(user_dict)
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/request-files.md

    /// info
    
    To receive uploaded files, first install <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install it, for example:
    
    ```console
    $ pip install python-multipart
    ```
    
    This is because uploaded files are sent as "form data".
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/request-files.md

    Para receber arquivos enviados, primeiro instale o <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Garanta que você criou um [ambiente virtual](../virtual-environments.md){.internal-link target=_blank}, o ativou e então o instalou, por exemplo:
    
    ```console
    $ pip install python-multipart
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. docs/ru/docs/alternatives.md

    > Requests - один из самых загружаемых пакетов Python всех времен
    
    
    Использовать его очень просто. Например, чтобы выполнить запрос `GET`, Вы бы написали:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    Противоположная *операция пути* в FastAPI может выглядеть следующим образом:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/debugging.md

    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    but is not called when another file imports it, like in:
    
    ```Python
    from myapp import app
    ```
    
    #### More details { #more-details }
    
    Let's say your file is named `myapp.py`.
    
    If you run it with:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/bigger-applications.md

    │   └── routers          # „routers“ ist ein „Python-Subpackage“
    │   │   ├── __init__.py  # macht „routers“ zu einem „Python-Subpackage“
    │   │   ├── items.py     # „items“-Submodul, z. B. import app.routers.items
    │   │   └── users.py     # „users“-Submodul, z. B. import app.routers.users
    │   └── internal         # „internal“ ist ein „Python-Subpackage“
    │       ├── __init__.py  # macht „internal“ zu einem „Python-Subpackage“
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 21K bytes
    - Viewed (0)
  9. docs/zh-hant/docs/virtual-environments.md

    ```
    
    然後再在其他目錄中查找。
    
    因此,當你在終端機中輸入 `python` 時,系統會在以下目錄中找到 Python 程式:
    
    ```plaintext
    C:\Users\user\code\awesome-project\.venv\Scripts\python
    ```
    
    並使用這個。
    
    ////
    
    一個重要的細節是,虛擬環境路徑會被放在 `PATH` 變數的**開頭**。系統會在找到任何其他可用的 Python **之前**找到它。這樣,當你運行 `python` 時,它會使用**虛擬環境中的** Python,而不是任何其他 `python`(例如,全域環境中的 `python`)。
    
    啟用虛擬環境還會改變其他一些內容,但這是它所做的最重要的事情之一。
    
    ## 檢查虛擬環境
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 09 22:39:33 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  10. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top