- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 1,062 for python (0.04 seconds)
-
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';Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Mar 04 19:50:57 GMT 2026 - 10.4K bytes - Click Count (0) -
ci/official/utilities/setup_macos.sh
# Python 3.12 removed the module `imp` which is needed by gcloud CLI so we set # `CLOUDSDK_PYTHON` to Python 3.11 which is the system Python on TFCI Mac # VMs. pyenv install -s "3.11" if [[ $? -eq 0 ]]; then pyenv local "3.11" export CLOUDSDK_PYTHON=$(pyenv which python3.11) else echo "Python 3.11 not found, falling back to system python" export CLOUDSDK_PYTHON=$(which python3)
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Oct 06 22:42:26 GMT 2025 - 6.8K bytes - Click Count (0) -
docs/ko/docs/features.md
 ### 그저 현대 파이썬 { #just-modern-python } (Pydantic 덕분에) 모든 것이 표준 **Python 타입** 선언을 기반으로 합니다. 새로 배울 문법이 없습니다. 그저 표준적인 현대 파이썬입니다. Python 타입을 어떻게 사용하는지 2분 정도 복습이 필요하다면(FastAPI를 사용하지 않더라도), 다음의 짧은 자습서를 확인하세요: [Python 타입](python-types.md). 여러분은 타입이 있는 표준 Python을 다음과 같이 작성합니다: ```Python from datetime import date from pydantic import BaseModel # 변수를 str로 선언합니다Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 11K bytes - Click Count (0) -
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") ``` /// tipCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7.9K bytes - Click Count (0) -
docs/ja/docs/virtual-environments.md
C:\Users\user\code\awesome-project\.venv\Scripts ``` そのため、ターミナルで `python` と入力した際に、OSはPythonプログラムを以下のパスで発見し、使用します。 ```plaintext C:\Users\user\code\awesome-project\.venv\Scripts\python ``` //// 重要な点は、仮想環境のパスを `PATH` 変数の**先頭**に配置することです。OSは利用可能な他のPythonを見つけるより**前に**、この仮想環境のPythonを見つけるようになります。このようにして、 `python` を実行したときに、他の `python` (例えばグローバル環境の `python` )ではなく、**その仮想環境の**Pythonを使用するようになります。 仮想環境を有効にして変更されることは他にもありますが、これが最も重要な変更のひとつです。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 28.5K bytes - Click Count (0) -
docs/ru/docs/index.md
Вы делаете это с помощью стандартных современных типов Python. Вам не нужно изучать новый синтаксис, методы или классы конкретной библиотеки и т.п. Только стандартный **Python**. Например, для `int`: ```Python item_id: int ``` или для более сложной модели `Item`: ```Python item: Item ``` ...и с этим единственным объявлением вы получаете:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 30.4K bytes - Click Count (0) -
fastapi/.agents/skills/fastapi/references/streaming.md
``` Use `raw_data` instead of `data` to send pre-formatted strings without JSON encoding: ```python yield ServerSentEvent(raw_data="plain text line", event="log") ``` ## Stream bytes To stream bytes, declare a `response_class=` of `StreamingResponse` or a sub-class, and use `yield` to return the data. ```python from fastapi import FastAPI from fastapi.responses import StreamingResponse from app.utils import read_image
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 10:05:57 GMT 2026 - 2.5K bytes - Click Count (0) -
.github/workflows/publish.yml
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 21 16:45:15 GMT 2026 - 629 bytes - Click Count (0) -
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" fiCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Sep 22 21:39:32 GMT 2025 - 4.4K bytes - Click Count (0) -
docs/ja/docs/tutorial/debugging.md
より詳しい情報は、[公式Pythonドキュメント](https://docs.python.org/3/library/__main__.html)を参照してください。 /// ## デバッガーでコードを実行 { #run-your-code-with-your-debugger } コードから直接Uvicornサーバーを実行しているため、デバッガーから直接Pythonプログラム (FastAPIアプリケーション) を呼び出せます。 --- 例えば、Visual Studio Codeでは、次のことが可能です: * 「デバッグ」パネルに移動。 * 「構成の追加...」 * 「Python」を選択。 * オプション「`Python: Current File (Integrated Terminal)`」を指定してデバッガーを実行。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 3.1K bytes - Click Count (0)