Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 679 for Pythona (0.89 sec)

  1. docs/zh-hant/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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 12:17:55 UTC 2024
    - 8K 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. docs/es/docs/virtual-environments.md

    <div class="termy">
    
    ```console
    $ which python
    
    /home/user/code/awesome-project/.venv/bin/python
    ```
    
    </div>
    
    Si muestra el binario de `python` en `.venv/bin/python`, dentro de tu proyecto (en este caso `awesome-project`), entonces funcionó. 🎉
    
    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    $ Get-Command python
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  5. docs/pt/docs/virtual-environments.md

    <div class="termy">
    
    ```console
    $ which python
    
    /home/user/code/awesome-project/.venv/bin/python
    ```
    
    </div>
    
    Se ele mostrar o binário `python` em `.venv/bin/python`, dentro do seu projeto (neste caso `awesome-project`), então funcionou. 🎉
    
    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    $ Get-Command python
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  6. tensorflow/__init__.py

    # module.
    
    # pylint: disable=g-bad-import-order
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
    
    from tensorflow.python.platform import flags  # pylint: disable=g-import-not-at-top
    from tensorflow.python.platform import app  # pylint: disable=g-import-not-at-top
    app.flags = flags
    
    # These symbols appear because we import the python package which
    # in turn imports from tensorflow.core and tensorflow.python. They
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/query-params-str-validations.md

    Now it's the time to use it with FastAPI. 🚀
    
    We had this type annotation:
    
    //// tab | Python 3.10+
    
    ```Python
    q: str | None = None
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    q: Union[str, None] = None
    ```
    
    ////
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. docs/uk/docs/index.md

    Ви робите це за допомогою стандартних сучасних типів Python.
    
    Вам не потрібно вивчати новий синтаксис, методи чи класи конкретної бібліотеки тощо.
    
    Використовуючи стандартний **Python**.
    
    Наприклад, для `int`:
    
    ```Python
    item_id: int
    ```
    
    або для більш складної моделі `Item`:
    
    ```Python
    item: Item
    ```
    
    ...і з цим єдиним оголошенням Ви отримуєте:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  9. docs/en/docs/virtual-environments.md

    <div class="termy">
    
    ```console
    $ which python
    
    /home/user/code/awesome-project/.venv/bin/python
    ```
    
    </div>
    
    If it shows the `python` binary at `.venv/bin/python`, inside of your project (in this case `awesome-project`), then it worked. 🎉
    
    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    $ Get-Command python
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  10. docs/ja/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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Jan 27 15:39:04 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top