Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 728 for python (0.14 sec)

  1. docs/zh/docs/environment-variables.md

    Hello Wade Wilson
    ```
    
    </div>
    
    ////
    
    ## 在 Python 中读取环境变量
    
    你也可以在 Python **之外**的终端中创建环境变量(或使用任何其他方法),然后在 Python 中**读取**它们。
    
    例如,你可以创建一个名为 `main.py` 的文件,其中包含以下内容:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 12:17:15 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/testing.md

    두 *경로 작업* 모두 `X-Token` 헤더를 요구합니다.
    
    //// tab | Python 3.10+
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_an_py310/main.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_an_py39/main.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_an/main.py!}
    ```
    
    ////
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/PythonJob.java

    import jakarta.servlet.ServletContext;
    
    /**
     * Job for executing Python scripts within the Fess search engine environment.
     * This job extends ExecJob to provide Python-specific functionality for running
     * Python scripts with proper environment setup and argument passing.
     *
     * <p>Python scripts are executed in the WEB-INF/env/python/resources directory
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. docs/en/docs/features.md

    ### Just Modern Python { #just-modern-python }
    
    It's all based on standard **Python type** declarations (thanks to Pydantic). No new syntax to learn. Just standard modern Python.
    
    If you need a 2 minute refresher of how to use Python types (even if you don't use FastAPI), check the short tutorial: [Python Types](python-types.md){.internal-link target=_blank}.
    
    You write standard Python with types:
    
    ```Python
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. docs/ja/docs/virtual-environments.md

    C:\Users\user\code\awesome-project\.venv\Scripts
    ```
    
    そのため、ターミナルで `python` と入力した際に、OSはPythonプログラムを以下のパスで発見し、使用します。
    
    ```plaintext
    C:\Users\user\code\awesome-project\.venv\Scripts\python
    ```
    
    ////
    
    重要な点は、仮想環境のパスを `PATH` 変数の**先頭**に配置することです。OSは利用可能な他のPythonを見つけるより**前に**、この仮想環境のPythonを見つけるようになります。このようにして、 `python` を実行したときに、他の `python` (例えばグローバル環境の `python` )ではなく、**その仮想環境の**Pythonを使用するようになります。
    
    仮想環境を有効にして変更されることは他にもありますが、これが最も重要な変更のひとつです。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Mar 19 12:22:33 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  6. .github/workflows/test.yml

          matrix:
            os: [ windows-latest, macos-latest ]
            python-version: [ "3.14" ]
            include:
              - os: ubuntu-latest
                python-version: "3.9"
                coverage: coverage
              - os: macos-latest
                python-version: "3.10"
                coverage: coverage
              - os: windows-latest
                python-version: "3.12"
                coverage: coverage
              - os: ubuntu-latest
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 08:53:59 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. docs/es/docs/features.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-06-redoc-02.png)
    
    ### Solo Python moderno { #just-modern-python }
    
    Todo está basado en declaraciones estándar de **tipos en Python** (gracias a Pydantic). Sin nueva sintaxis que aprender. Solo Python moderno estándar.
    
    Si necesitas un repaso de 2 minutos sobre cómo usar tipos en Python (aunque no uses FastAPI), revisa el tutorial corto: [Tipos en Python](python-types.md){.internal-link target=_blank}.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:15:01 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. docs/zh/docs/index.md

    ### 总结
    
    总的来说,你就像声明函数的参数类型一样只声明了**一次**请求参数、请求体等的类型。
    
    你使用了标准的现代 Python 类型来完成声明。
    
    你不需要去学习新的语法、了解特定库的方法或类,等等。
    
    只需要使用标准的 **Python 及更高版本**。
    
    举个例子,比如声明 `int` 类型:
    
    ```Python
    item_id: int
    ```
    
    或者一个更复杂的 `Item` 模型:
    
    ```Python
    item: Item
    ```
    
    ......在进行一次声明之后,你将获得:
    
    * 编辑器支持,包括:
        * 自动补全
        * 类型检查
    * 数据校验:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. docs/fr/docs/features.md

    ### Faite en python moderne
    
    Tout est basé sur la déclaration de type standard de **Python 3.8** (grâce à Pydantic). Pas de nouvelles syntaxes à apprendre. Juste du Python standard et moderne.
    
    Si vous souhaitez un rappel de 2 minutes sur l'utilisation des types en Python (même si vous ne comptez pas utiliser FastAPI), jetez un oeil au tutoriel suivant: [Python Types](python-types.md){.internal-link target=_blank}.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/extra-models.md

    そこで、以下のようなPydanticオブジェクト`user_in`を作成すると:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    そして呼び出すと:
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    これで変数`user_dict`のデータを持つ`dict`ができました。(これはPydanticモデルのオブジェクトの代わりに`dict`です)。
    
    そして呼び出すと:
    
    ```Python
    print(user_dict)
    ```
    
    以下のようなPythonの`dict`を得ることができます:
    
    ```Python
    {
        'username': 'john',
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top