Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 681 for Python3 (0.06 sec)

  1. docs/de/docs/advanced/settings.md

    ```
    
    </div>
    
    ////
    
    ### Umgebungsvariablen mit Python auslesen
    
    Sie können Umgebungsvariablen auch außerhalb von Python im Terminal (oder mit einer anderen Methode) erstellen und diese dann mit Python auslesen.
    
    Sie könnten zum Beispiel 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
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. docs/de/docs/features.md

    ### Nur modernes Python
    
    Alles basiert auf **Python 3.8 Typ**-Deklarationen (dank Pydantic). Es muss keine neue Syntax gelernt werden, nur standardisiertes modernes Python.
    
    Wenn Sie eine zweiminütige Auffrischung benötigen, wie man Python-Typen verwendet (auch wenn Sie FastAPI nicht benutzen), schauen Sie sich das kurze Tutorial an: [Einführung in Python-Typen](python-types.md){.internal-link target=_blank}.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Aug 15 23:30:12 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    ### Was sind „Kontextmanager“
    
    „Kontextmanager“ (Englisch „Context Manager“) sind bestimmte Python-Objekte, die Sie in einer `with`-Anweisung verwenden können.
    
    Beispielsweise können Sie <a href="https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">`with` verwenden, um eine Datei auszulesen</a>:
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/response-status-code.md

    ///
    
    Dem `status_code`-Parameter wird eine Zahl mit dem HTTP-Statuscode übergeben.
    
    /// info
    
    Alternativ kann `status_code` auch ein `IntEnum` erhalten, so wie Pythons <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>.
    
    ///
    
    Das wird:
    
    * Diesen Statuscode mit der Response zurücksenden.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. docs/ko/docs/index.md

    요약하면, 여러분은 매개변수의 타입, 본문 등을 함수 매개변수로서 **한번에** 선언했습니다.
    
    여러분은 현대 표준 파이썬 타입으로 이를 행했습니다.
    
    새로운 문법, 특정 라이브러리의 메소드나 클래스 등을 배울 필요가 없습니다.
    
    그저 표준 **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
    - 19.7K bytes
    - Viewed (0)
  6. docs/en/docs/environment-variables.md

    ```
    
    </div>
    
    ////
    
    ## Read env vars in Python { #read-env-vars-in-python }
    
    You could also create environment variables **outside** of Python, in the terminal (or with any other method), and then **read them in Python**.
    
    For example you could have a file `main.py` with:
    
    ```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: Sun Aug 31 09:15:41 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. docs/nl/docs/environment-variables.md

    ```
    
    </div>
    
    ////
    
    ## Omgevingsvariabelen uitlezen in Python
    
    Je kunt omgevingsvariabelen **buiten** Python aanmaken, in de terminal (of met een andere methode) en ze vervolgens **in Python uitlezen**.
    
    Je kunt bijvoorbeeld een bestand `main.py` hebben met:
    
    ```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: Fri Sep 20 11:13:32 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. docs/ru/docs/virtual-environments.md

    Для создания виртуальной среды вы можете воспользоваться модулем `venv`, который является частью встроенной библиотеки Python.
    
    <div class="termy">
    
    ```console
    $ python -m venv .venv
    ```
    
    </div>
    
    /// details | Что делает эта команда?
    
    * `python`: использовать программу под именем `python`
    * `-m`: вызывать модуль как скрипт, в следующей инструкции мы скажем какой именно модуль вызвать
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 10 11:34:19 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  9. docs/fa/docs/environment-variables.md

    ```console
    // اینجا هنوز متغیر محیطی رو تنظیم نکردیم
    $ python main.py
    
    // چون متغیر محیطی رو تنظیم نکردیم، مقدار پیش‌فرض رو می‌گیریم
    
    Hello World from Python
    
    // ولی اگه اول یه متغیر محیطی بسازیم
    $ export MY_NAME="Wade Wilson"
    
    // و بعد دوباره برنامه رو صدا کنیم
    $ python main.py
    
    // حالا می‌تونه متغیر محیطی رو بخونه
    
    Hello Wade Wilson from Python
    ```
    
    </div>
    
    ////
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Jul 25 09:27:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
Back to top