- Sort Score
- Num 10 results
- Language All
Results 1121 - 1130 of 2,110 for py$ (0.01 seconds)
-
docs/sts/.gitignore
# Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *$py.class # C extensions *.so # Distribution / packaging .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ *.egg-info/ .installed.cfg *.egg MANIFEST # PyInstaller # Usually these files are written by a python script from a template
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jul 15 11:55:55 GMT 2020 - 1.2K bytes - Click Count (0) -
docs/en/docs/tutorial/debugging.md
{* ../../docs_src/debugging/tutorial001_py310.py hl[1,15] *} ### About `__name__ == "__main__"` { #about-name-main } The main purpose of the `__name__ == "__main__"` is to have some code that is executed when your file is called with: <div class="termy"> ```console $ python myapp.py ``` </div> but is not called when another file imports it, like in: ```PythonCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2.4K bytes - Click Count (0) -
docs/ja/docs/tutorial/security/first-steps.md
**FastAPI**が提供するツールを使って、セキュリティを制御してみましょう。 ## どう見えるか { #how-it-looks } まずはこのコードを使って、どう動くか観察します。その後で、何が起こっているのか理解しましょう。 ## `main.py`を作成 { #create-main-py } `main.py`に、下記の例をコピーします: {* ../../docs_src/security/tutorial001_an_py310.py *} ## 実行 { #run-it } /// info | 情報Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 10.8K bytes - Click Count (0) -
docs/zh/docs/tutorial/middleware.md
中间件函数会接收: * `request`。 * 一个函数 `call_next`,它会把 `request` 作为参数接收。 * 这个函数会把 `request` 传递给相应的*路径操作*。 * 然后它返回由相应*路径操作*生成的 `response`。 * 在返回之前,你可以进一步修改 `response`。 {* ../../docs_src/middleware/tutorial001_py310.py hl[8:9,11,14] *} /// tip 请记住可以[使用 `X-` 前缀](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers)添加专有自定义请求头。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 3.7K bytes - Click Count (0) -
docs/zh/docs/advanced/settings.md
你可以把这些设置放在另一个模块文件中,就像你在[更大的应用 - 多个文件](../tutorial/bigger-applications.md)中看到的那样。 例如,可以有一个 `config.py` 文件: {* ../../docs_src/settings/app01_py310/config.py *} 然后在 `main.py` 文件中使用它: {* ../../docs_src/settings/app01_py310/main.py hl[3,11:13] *} /// tip | 提示 你还需要一个 `__init__.py` 文件,就像你在[更大的应用 - 多个文件](../tutorial/bigger-applications.md)中看到的那样。 ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 10.4K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/testing-websockets.md
# 測試 WebSocket { #testing-websockets } 你可以使用相同的 `TestClient` 來測試 WebSocket。 為此,你可以在 `with` 陳述式中使用 `TestClient`,連線到該 WebSocket: {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *} /// note | 注意 想了解更多,請參考 Starlette 的[測試 WebSocket](https://www.starlette.dev/testclient/#testing-websocket-sessions)文件。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 420 bytes - Click Count (0) -
docs/ja/docs/fastapi-cli.md
Searching for package file structure from directories with <font color="#3465A4">__init__.py</font> files Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font> <span style="background-color:#007166"><font color="#D3D7CF"> module </font></span> 🐍 main.pyCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 6.6K bytes - Click Count (0) -
docs/ko/docs/tutorial/debugging.md
파일 이름이 `myapp.py`라고 가정해 보겠습니다. 다음과 같이 실행하면 <div class="termy"> ```console $ python myapp.py ``` </div> Python에 의해 자동으로 생성된 파일의 내부 변수 `__name__`은 문자열 `"__main__"`을 값으로 갖게 됩니다. 따라서 섹션 ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` 이 실행됩니다. --- 해당 모듈(파일)을 가져오면 이런 일이 발생하지 않습니다 그래서 다음과 같은 다른 파일 `importer.py`가 있는 경우: ```Python
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 2.8K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/searchNoResult.jsp
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%> <%-- query did not match any document --%> <div id="result" class="row"> <div class="col-md-8"> <div class="text-center py-4"> <p class="mb-3"><i class="fa fa-search fa-3x text-muted" aria-hidden="true"></i></p> <p class="mb-2"><la:message key="labels.did_not_match" arg0="${displayQuery}" /></p> <p class="text-muted"><la:message key="labels.did_not_match_suggestion" /></p>
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 969 bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/middleware.md
中介軟體函式會接收: - `request`。 - 一個函式 `call_next`,會以 `request` 作為參數。 - 這個函式會把 `request` 傳給對應的*路徑操作*。 - 然後回傳對應*路徑操作*所產生的 `response`。 - 然後你可以在回傳之前進一步修改 `response`。 {* ../../docs_src/middleware/tutorial001_py310.py hl[8:9,11,14] *} /// tip 請記得,自訂的非標準標頭可以[使用 `X-` 前綴](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers)。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.7K bytes - Click Count (0)