Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 728 for python (0.12 sec)

  1. docs/ja/docs/python-types.md

    # Pythonの型の紹介
    
    **Python 3.6以降** では「型ヒント」オプションがサポートされています。
    
    これらの **"型ヒント"** は変数の<abbr title="例: str, int, float, bool">型</abbr>を宣言することができる新しい構文です。(Python 3.6以降)
    
    変数に型を宣言することでエディターやツールがより良いサポートを提供することができます。
    
    ここではPythonの型ヒントについての **クイックチュートリアル/リフレッシュ** で、**FastAPI**でそれらを使用するために必要な最低限のことだけをカバーしています。...実際には本当に少ないです。
    
    **FastAPI** はすべてこれらの型ヒントに基づいており、多くの強みと利点を与えてくれます。
    
    しかしたとえまったく **FastAPI** を使用しない場合でも、それらについて少し学ぶことで利点を得ることができるでしょう。
    
    /// note | 備考
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. docs/ko/docs/python-types.md

    당신은 `first_name`를 입력한 뒤 점(`.`)을 입력하고 자동완성을 켜기 위해서 `Ctrl+Space`를 눌렀습니다.
    
    하지만 슬프게도 아무런 도움이 되지 않습니다:
    
    <img src="/img/python-types/image01.png">
    
    ### 타입 추가하기
    
    이전 버전에서 한 줄만 수정해봅시다.
    
    저희는 이 함수의 매개변수 부분:
    
    ```Python
        first_name, last_name
    ```
    
    을 아래와 같이 바꿀 겁니다:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    이게 다입니다.
    
    이게 "타입 힌트"입니다:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. docs/ko/docs/virtual-environments.md

    ```
    
    그 후에 다른 디렉터리들을 탐색합니다.
    
    따라서 터미널에 `python`을 입력하면, 시스템은 다음 경로에 있는 Python 프로그램을 찾게 됩니다:
    
    ```plaintext
    C:\Users\user\code\awesome-project\.venv\Scripts\python
    ```
    
    그리고 해당 Python을 사용하게 됩니다.
    
    ////
    
    중요한 세부 사항 중 하나는, 가상 환경의 경로가 `PATH` 변수의 가장 **앞**에 추가된다는 점입니다. 시스템은 사용 가능한 다른 Python들보다 **먼저** 이 경로를 찾습니다. 그래서 터미널에서 `python`을 실행하면, 전역 환경의 Python이 아닌 **가상 환경에 있는** Python이 사용됩니다. (예: 전역 환경에 설치된 `python`이 있더라도 그보다 우선합니다.)
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri May 30 13:10:41 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  4. docs/ko/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
    {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri May 30 13:38:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. ci/official/containers/ml_build/Dockerfile

    # Setup Python
    COPY setup.python.sh /setup.python.sh
    COPY builder.requirements.txt /builder.requirements.txt
    RUN /setup.python.sh python3.9 /builder.requirements.txt
    RUN /setup.python.sh python3.10 /builder.requirements.txt
    RUN /setup.python.sh python3.11 /builder.requirements.txt
    RUN /setup.python.sh python3.13 /builder.requirements.txt
    RUN /setup.python.sh python3.13-nogil /builder.requirements.txt
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Thu Dec 18 21:55:23 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. ci/devinfra/docker/windows2022/Dockerfile

            Install-Python -version $v.version -prependPath $v.prependPath; \
        }; \
        Write-Host 'Python installations complete.';
    
    # Add a python3 symlink for the Python in PATH.
    # It's not feasible to add one for each version, as on Windows,
    # Python uses PATH and the binary's (symlink's) location, to launch itself.
    RUN C:\tools\msys64\usr\bin\bash.exe -lc 'ln -s /c/Python3.13/python.exe /usr/bin/python3';
    
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Mon Jan 13 18:59:55 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. ci/official/utilities/rename_and_verify_wheels.sh

    venv_dir=$(mktemp -d)
    if [[ $(uname -s) != MSYS_NT* ]]; then
      "python${TFCI_PYTHON_VERSION}" -m venv "$venv_dir"
      python="$venv_dir/bin/python3"
    else
      # When using the Linux-like path, venv creation quietly fails, which is
      # why it's converted here.
      venv_dir=$(cygpath -m $venv_dir)
      "/c/python${TFCI_PYTHON_VERSION}/python.exe" -m venv "$venv_dir"
      python="$venv_dir/Scripts/python.exe"
    fi
    
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Mon Sep 22 21:39:32 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/debugging.md

    자세한 내용은 <a href="https://docs.python.org/3/library/__main__.html" class="external-link" target="_blank">공식 Python 문서</a>를 확인하세요
    
    ///
    
    ## 디버거로 코드 실행
    
    코드에서 직접 Uvicorn 서버를 실행하고 있기 때문에 디버거에서 직접 Python 프로그램(FastAPI 애플리케이션)을 호출할 수 있습니다.
    
    ---
    
    예를 들어 Visual Studio Code에서 다음을 수행할 수 있습니다.
    
    * "Debug" 패널로 이동합니다.
    * "Add configuration...".
    * "Python"을 선택합니다.
    * "`Python: Current File (Integrated Terminal)`" 옵션으로 디버거를 실행합니다.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/extra-models.md

    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    und dann aufrufen:
    
    ```Python
    user_dict = user_in.model_dump()
    ```
    
    haben wir jetzt ein `dict` mit den Daten in der Variablen `user_dict` (es ist ein `dict` statt eines Pydantic-Modellobjekts).
    
    Und wenn wir aufrufen:
    
    ```Python
    print(user_dict)
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. 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
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 17:32:56 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top