Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 857 for python (0.29 sec)

  1. ci/official/containers/linux_arm64/setup.python.sh

    #
    # setup.python.sh: Install a specific Python version and packages for it.
    # Usage: setup.python.sh <pyversion> <requirements.txt>
    set -xe
    
    source ~/.bashrc
    VERSION=$1
    REQUIREMENTS=$2
    
    add-apt-repository ppa:deadsnakes/ppa
    # Install Python packages for this container's version
    cat >pythons.txt <<EOF
    $VERSION
    $VERSION-dev
    $VERSION-venv
    $VERSION-distutils
    EOF
    Shell Script
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Fri Sep 29 00:26:34 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. docs/en/docs/python-types.md

    === "Python 3.10+"
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/python_types/tutorial009_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial009.py!}
        ```
    
    === "Python 3.8+ alternative"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial009b.py!}
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 17K bytes
    - Viewed (0)
  3. docs/em/docs/python-types.md

    🖼 ⚪️➡️ 🛂 Pydantic 🩺:
    
    === "🐍 3️⃣.6️⃣ &amp; 🔛"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011.py!}
        ```
    
    === "🐍 3️⃣.9️⃣ &amp; 🔛"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011_py39.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ &amp; 🔛"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011_py310.py!}
        ```
    
    !!! info
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  4. docs/uk/docs/python-types.md

    Приклад з документації Pydantic:
    
    === "Python 3.8 і вище"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011.py!}
        ```
    
    === "Python 3.9 і вище"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011_py39.py!}
        ```
    
    === "Python 3.10 і вище"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011_py310.py!}
        ```
    
    !!! info
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  5. docs/ru/docs/python-types.md

    Допустим, у вас есть класс `Person` с полем `name`:
    
    ```Python hl_lines="1-3"
    {!../../../docs_src/python_types/tutorial010.py!}
    ```
    
    Тогда вы можете объявить переменную типа `Person`:
    
    ```Python hl_lines="6"
    {!../../../docs_src/python_types/tutorial010.py!}
    ```
    
    И снова вы получаете полную поддержку редактора:
    
    <img src="/img/python-types/image06.png">
    
    ## Pydantic-модели
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  6. docs/ja/docs/python-types.md

    ## 動機
    
    簡単な例から始めてみましょう:
    
    ```Python
    {!../../../docs_src/python_types/tutorial001.py!}
    ```
    
    このプログラムを実行すると以下が出力されます:
    
    ```
    John Doe
    ```
    
    この関数は以下のようなことを行います:
    
    * `first_name`と`last_name`を取得します。
    * `title()`を用いて、それぞれの最初の文字を大文字に変換します。
    * 真ん中にスペースを入れて<abbr title="次から次へと中身を入れて一つにまとめる">連結</abbr>します。
    
    ```Python hl_lines="2"
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  7. docs/vi/docs/python-types.md

    Một ví dụ từ tài liệu chính thức của Pydantic:
    
    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011.py!}
        ```
    
    !!! info
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  8. docs/zh/docs/python-types.md

    # Python 类型提示简介
    
    **Python 3.6+ 版本**加入了对"类型提示"的支持。
    
    这些**"类型提示"**是一种新的语法(在 Python 3.6 版本加入)用来声明一个变量的<abbr title="例如:str、int、float、bool">类型</abbr>。
    
    通过声明变量的类型,编辑器和一些工具能给你提供更好的支持。
    
    这只是一个关于 Python 类型提示的**快速入门 / 复习**。它仅涵盖与 **FastAPI** 一起使用所需的最少部分...实际上只有很少一点。
    
    整个 **FastAPI** 都基于这些类型提示构建,它们带来了许多优点和好处。
    
    但即使你不会用到 **FastAPI**,了解一下类型提示也会让你从中受益。
    
    !!! note
        如果你已经精通 Python,并且了解关于类型提示的一切知识,直接跳到下一章节吧。
    
    ## 动机
    
    让我们从一个简单的例子开始:
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  9. docs/de/docs/python-types.md

    Ein Beispiel aus der offiziellen Pydantic Dokumentation:
    
    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011.py!}
        ```
    
    !!! info
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Sat Mar 30 20:29:25 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  10. docs/tr/docs/python-types.md

    Diyelim ki  `name` değerine sahip `Person` sınıfınız var:
    
    ```Python hl_lines="1-3"
    {!../../../docs_src/python_types/tutorial010.py!}
    ```
    
    Sonra bir değişkeni 'Person' tipinde tanımlayabilirsiniz:
    
    ```Python hl_lines="6"
    {!../../../docs_src/python_types/tutorial010.py!}
    ```
    
    Ve yine bütün editör desteğini alırsınız:
    
    <img src="/img/python-types/image06.png">
    
    ## Pydantic modelleri
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.7K bytes
    - Viewed (0)
Back to top