- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 916 for main (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/pt/docs/tutorial/debugging.md
### Sobre `__name__ == "__main__"` { #about-name-main } O objetivo principal de `__name__ == "__main__"` é ter algum código que seja executado quando seu arquivo for chamado com: <div class="termy"> ```console $ python myapp.py ``` </div> mas não é chamado quando outro arquivo o importa, como em: ```Python from myapp import app ``` #### Mais detalhes { #more-details }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 2.7K bytes - Click Count (0) -
.github/workflows/multipart/nginx-site1.conf
include /etc/nginx/mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main; sendfile on; keepalive_timeout 65; # include /etc/nginx/conf.d/*.conf;Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Sep 30 10:13:56 GMT 2023 - 1.7K bytes - Click Count (0) -
.github/workflows/multipart/nginx-site2.conf
include /etc/nginx/mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main; sendfile on; keepalive_timeout 65; # include /etc/nginx/conf.d/*.conf;Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Sep 30 10:13:56 GMT 2023 - 1.7K bytes - Click Count (0) -
api/maven-api-model/pom.xml
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Sep 16 12:39:59 GMT 2025 - 3.2K bytes - Click Count (0) -
docs/ru/docs/tutorial/debugging.md
## Вызов `uvicorn` { #call-uvicorn } В вашем FastAPI приложении, импортируйте и вызовите `uvicorn` напрямую: {* ../../docs_src/debugging/tutorial001_py39.py hl[1,15] *} ### Описание `__name__ == "__main__"` { #about-name-main } Главная цель использования `__name__ == "__main__"` в том, чтобы код выполнялся при запуске файла с помощью: <div class="termy"> ```console $ python myapp.py ``` </div>Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.9K bytes - Click Count (0) -
docs/zh/docs/advanced/settings.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 12.7K bytes - Click Count (0) -
okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt
import okhttp3.MediaType import okhttp3.MediaType.Companion.toMediaTypeOrNull import okhttp3.Request import okhttp3.RequestBody.Companion.toRequestBody import okhttp3.curl.Main import okhttp3.internal.http.StatusLine import okio.sink internal fun Main.commonCreateRequest(): Request { val request = Request.Builder() val requestMethod = method ?: if (data != null) "POST" else "GET"
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.7K bytes - Click Count (0) -
docs/zh-hant/docs/environment-variables.md
然後你可以呼叫這個 Python 程式: //// tab | Linux, macOS, Windows Bash <div class="termy"> ```console // 這裡我們還沒有設定環境變數 $ python main.py // 因為我們沒有設定環境變數,所以我們得到的是預設值 Hello World from Python // 但是如果我們事先建立過一個環境變數 $ export MY_NAME="Wade Wilson" // 然後再次呼叫程式 $ python main.py // 現在就可以讀取到環境變數了 Hello Wade Wilson from Python ``` </div> //// //// tab | Windows PowerShell
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Nov 09 12:17:55 GMT 2024 - 8K bytes - Click Count (0) -
docs/ko/docs/tutorial/first-steps.md
<span style="color: green;">INFO</span>: Application startup complete. ``` </div> /// note | 참고 `uvicorn main:app` 명령은 다음을 의미합니다: * `main`: 파일 `main.py` (파이썬 "모듈"). * `app`: `main.py` 내부의 `app = FastAPI()` 줄에서 생성한 오브젝트. * `--reload`: 코드 변경 시 자동으로 서버 재시작. 개발 시에만 사용. /// 출력되는 줄들 중에는 아래와 같은 내용이 있습니다: ```hl_lines="4"
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 10.3K bytes - Click Count (0) -
impl/maven-core/src/test/projects/lifecycle-executor/project-with-multiple-executions/pom.xml
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.8K bytes - Click Count (0)