Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 1,039 for Python (0.05 seconds)

  1. docs/de/docs/virtual-environments.md

    <div class="termy">
    
    ```console
    $ python -m venv .venv
    ```
    
    </div>
    
    /// details | Was dieser Befehl bedeutet
    
    * `python`: das Programm namens `python` verwenden
    * `-m`: ein Modul als Skript aufrufen, wir geben als nächstes an, welches Modul
    * `venv`: das Modul namens `venv` verwenden, das normalerweise mit Python installiert wird
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  2. docs/de/docs/environment-variables.md

    </div>
    
    ////
    
    ## Umgebungsvariablen in Python lesen { #read-env-vars-in-python }
    
    Sie können auch Umgebungsvariablen **außerhalb** von Python erstellen, im Terminal (oder mit jeder anderen Methode) und sie dann **in Python** lesen.
    
    Zum Beispiel könnten Sie eine Datei `main.py` haben mit:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip | Tipp
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  3. docs/tr/docs/tutorial/dependencies/classes-as-dependencies.md

    Yukarıdaki kodda `CommonQueryParams`'ı iki kez yazdığımıza dikkat edin:
    
    //// tab | Python 3.10+
    
    ```Python
    commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
    ```
    
    ////
    
    //// tab | Python 3.10+ Annotated Olmadan
    
    /// tip | İpucu
    
    Mümkünse `Annotated` sürümünü kullanmayı tercih edin.
    
    ///
    
    ```Python
    commons: CommonQueryParams = Depends(CommonQueryParams)
    ```
    
    ////
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:41:38 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  4. docs/fr/docs/tutorial/dependencies/classes-as-dependencies.md

    L'élément clé est qu'une dépendance doit être un « callable ».
    
    Un « callable » en Python est tout ce que Python peut « appeler » comme une fonction.
    
    Ainsi, si vous avez un objet `something` (qui n'est peut‑être pas une fonction) et que vous pouvez « l'appeler » (l'exécuter) comme :
    
    ```Python
    something()
    ```
    
    ou
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    alors c'est un « callable ».
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  5. 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".
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  6. docs/tr/docs/environment-variables.md

    // And then call the program again
    $ python main.py
    
    // Now it can read the environment variable
    
    Hello Wade Wilson from Python
    ```
    
    </div>
    
    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    // Here we don't set the env var yet
    $ python main.py
    
    // As we didn't set the env var, we get the default value
    
    Hello World from Python
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  7. docs/tr/docs/tutorial/extra-models.md

    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    ve sonra şunu çağırırsak:
    
    ```Python
    user_dict = user_in.model_dump()
    ```
    
    artık `user_dict` değişkeninde modelin verilerini içeren bir `dict` vardır (Pydantic model nesnesi yerine bir `dict` elde etmiş oluruz).
    
    Ve eğer şunu çağırırsak:
    
    ```Python
    print(user_dict)
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  8. docs/tr/docs/virtual-environments.md

    /home/user/code/awesome-project/.venv/bin/python
    ```
    
    </div>
    
    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    $ Get-Command python
    
    C:\Users\user\code\awesome-project\.venv\Scripts\python
    ```
    
    </div>
    
    ////
    
    Bu, kullanılacak `python` programının **virtual environment'in içindeki** Python olduğu anlamına gelir.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 23.5K bytes
    - Click Count (0)
  9. docs/ru/docs/features.md

    ### Только современный Python { #just-modern-python }
    
    Все основано на стандартных **аннотациях типов Python** (благодаря Pydantic). Не нужно изучать новый синтаксис. Только стандартный современный Python.
    
    Если вам нужно освежить знания о типах в Python (даже если вы не используете FastAPI), выделите 2 минуты и просмотрите краткое руководство: [Типы Python](python-types.md).
    
    Вы пишете стандартный Python с типами:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 15.5K bytes
    - Click Count (0)
  10. docs/fr/docs/environment-variables.md

    Hello Wade Wilson
    ```
    
    </div>
    
    ////
    
    ## Lire des variables d'environnement en Python { #read-env-vars-in-python }
    
    Vous pouvez également créer des variables d'environnement **en dehors** de Python, dans le terminal (ou par tout autre moyen), puis les **lire en Python**.
    
    Par exemple, vous pouvez avoir un fichier `main.py` contenant :
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 9.1K bytes
    - Click Count (0)
Back to Top