Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 707 for Python (0.23 sec)

  1. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    The key factor is that a dependency should be a "callable".
    
    A "**callable**" in Python is anything that Python can "call" like a function.
    
    So, if you have an object `something` (that might _not_ be a function) and you can "call" it (execute it) like:
    
    ```Python
    something()
    ```
    
    or
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    then it is a "callable".
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md

    O fator principal para uma dependência é que ela deve ser "chamável"
    
    Um objeto "chamável" em Python é qualquer coisa que o Python possa "chamar" como uma função
    
    Então se você tiver um objeto `alguma_coisa` (que pode *não* ser uma função) que você possa "chamar" (executá-lo) dessa maneira:
    
    ```Python
    something()
    ```
    
    ou
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    Então esse objeto é um "chamável".
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. .github/workflows/publish.yml

              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v6
          - name: Set up Python
            uses: actions/setup-python@v6
            with:
              python-version: "3.10"
              # Issue ref: https://github.com/actions/setup-python/issues/436
              # cache: "pip"
              # cache-dependency-path: pyproject.toml
          - name: Install build dependencies
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Nov 21 13:03:21 UTC 2025
    - 1K bytes
    - Viewed (0)
  4. docs/ru/docs/features.md

    ### Только современный Python { #just-modern-python }
    
    Все основано на стандартных **аннотациях типов Python** (благодаря Pydantic). Не нужно изучать новый синтаксис. Только стандартный современный Python.
    
    Если вам нужно освежить знания о типах в Python (даже если вы не используете FastAPI), выделите 2 минуты и просмотрите краткое руководство: [Типы Python](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
    - 16K bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/settings.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: Mon Nov 18 02:25:44 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/bigger-applications.md

    ```
    .
    ├── app                  # "app" is a Python package
    │   ├── __init__.py      # this file makes "app" a "Python package"
    │   ├── main.py          # "main" module, e.g. import app.main
    │   ├── dependencies.py  # "dependencies" module, e.g. import app.dependencies
    │   └── routers          # "routers" is a "Python subpackage"
    │   │   ├── __init__.py  # makes "routers" a "Python subpackage"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/bigger-applications.md

    我们也可以像这样导入它们:
    
    ```Python
    from app.routers import items, users
    ```
    
    /// info
    
    第一个版本是「相对导入」:
    
    ```Python
    from .routers import items, users
    ```
    
    第二个版本是「绝对导入」:
    
    ```Python
    from app.routers import items, users
    ```
    
    要了解有关 Python 包和模块的更多信息,请查阅<a href="https://docs.python.org/3/tutorial/modules.html" class="external-link" target="_blank">关于 Modules 的 Python 官方文档</a>。
    
    ///
    
    ### 避免名称冲突
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top