- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for Open (0.27 sec)
-
docs/em/docs/advanced/events.md
``` ๐ฅ, `shutdown` ๐ ๐โ๐ฆบ ๐ข ๐ โ โ โธ `"Application shutdown"` ๐ `log.txt`. !!! info `open()` ๐ข, `mode="a"` โ "๐ป",, โธ ๐ ๐ฎ โฎ๏ธ โซ๏ธโ ๐ ๐ ๐, ๐ต ๐ โฎ๏ธ ๐. !!! tip ๐ ๐ ๐ ๐ผ ๐ฅ โ๏ธ ๐ฉ ๐ `open()` ๐ข ๐ ๐ โฎ๏ธ ๐. , โซ๏ธ ๐ ๐ค/๐ พ (๐ข/๐ข), ๐ ๐ "โ" ๐ โ ๐พ. โ๏ธ `open()` ๐ซ โ๏ธ `async` & `await`. , ๐ฅ ๐ฃ ๐ ๐โ๐ฆบ ๐ข โฎ๏ธ ๐ฉ `def` โฉ๏ธ `async def`. !!! info
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 6.2K bytes - Viewed (0) -
docs/de/docs/advanced/events.md
```Python hl_lines="1 13" {!../../../docs_src/events/tutorial003.py!} ``` Ein **Kontextmanager** in Python ist etwas, das Sie in einer `with`-Anweisung verwenden kรถnnen, zum Beispiel kann `open()` als Kontextmanager verwendet werden: ```Python with open("file.txt") as file: file.read() ``` In neueren Versionen von Python gibt es auch einen **asynchronen Kontextmanager**. Sie wรผrden ihn mit `async with` verwenden: ```Python
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 30 20:30:59 GMT 2024 - 9.1K bytes - Viewed (0) -
docs/pt/docs/advanced/events.md
```Python hl_lines="1 13" {!../../../docs_src/events/tutorial003.py!} ``` Um **gerenciador de contexto** em Python รฉ algo que vocรช pode usar em uma declaraรงรฃo `with`, por exemplo, `open()` pode ser usado como um gerenciador de contexto: ```Python with open("file.txt") as file: file.read() ``` Nas versรตes mais recentes de Python, hรก tambรฉm um **gerenciador de contexto assรญncrono**. Vocรช o usaria com `async with`: ```Python
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.6K bytes - Viewed (0) -
docs/zh/docs/advanced/events.md
{!../../../docs_src/events/tutorial002.py!} ``` ๆญคๅค๏ผ`shutdown` ไบไปถๅค็ๅจๅฝๆฐๅจ `log.txt` ไธญๅๅ ฅไธ่กๆๆฌ `Application shutdown`ใ !!! info "่ฏดๆ" `open()` ๅฝๆฐไธญ๏ผ`mode="a"` ๆ็ๆฏ**่ฟฝๅ **ใๅ ๆญค่ฟ่กๆๆฌไผๆทปๅ ๅจๆไปถๅทฒๆๅ ๅฎนไนๅ๏ผไธไผ่ฆ็ไนๅ็ๅ ๅฎนใ !!! tip "ๆ็คบ" ๆณจๆ๏ผๆฌไพไฝฟ็จ Python `open()` ๆ ๅๅฝๆฐไธๆไปถไบคไบใ ่ฟไธชๅฝๆฐๆง่ก I/O๏ผ่พๅ ฅ/่พๅบ๏ผๆไฝ๏ผ้่ฆ็ญๅพ ๅ ๅฎนๅ่ฟ็ฃ็ใ ไฝ `open()` ๅฝๆฐไธๆฏๆไฝฟ็จ `async` ไธ `await`ใ ๅ ๆญค๏ผๅฃฐๆไบไปถๅค็ๅฝๆฐ่ฆไฝฟ็จ `def`๏ผไธ่ฝไฝฟ็จ `asnyc def`ใ !!! info "่ฏดๆ"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 1.7K bytes - Viewed (0) -
docs/ko/docs/advanced/events.md
์ด ์์ ์์ `shutdown` ์ด๋ฒคํธ ํธ๋ค๋ฌ ํจ์๋ `"Application shutdown"`์ด๋ผ๋ ํ ์คํธ๊ฐ ์ ํ `log.txt` ํ์ผ์ ์ถ๊ฐํ ๊ฒ์ ๋๋ค. !!! info "์ ๋ณด" `open()` ํจ์์์ `mode="a"`๋ "์ถ๊ฐ"๋ฅผ ์๋ฏธํฉ๋๋ค. ๋ฐ๋ผ์ ์ด๋ฏธ ์กด์ฌํ๋ ํ์ผ์ ๋ด์ฉ์ ๋ฎ์ด์ฐ์ง ์๊ณ ์๋ก์ด ์ค์ ์ถ๊ฐํฉ๋๋ค. !!! tip "ํ" ์ด ์์ ์์๋ ํ์ผ๊ณผ ์ํธ์์ฉ ํ๊ธฐ ์ํด ํ์ด์ฌ ํ์ค ํจ์์ธ `open()`์ ์ฌ์ฉํ๊ณ ์์ต๋๋ค. ๋ฐ๋ผ์ ๋์คํฌ์ ๋ฐ์ดํฐ๋ฅผ ์ฐ๊ธฐ ์ํด "๋๊ธฐ"๊ฐ ํ์ํ I/O (์ ๋ ฅ/์ถ๋ ฅ) ์์ ์ ์ํํฉ๋๋ค. ๊ทธ๋ฌ๋ `open()`์ `async`์ `await`์ ์ฌ์ฉํ์ง ์๊ธฐ ๋๋ฌธ์ ์ด๋ฒคํธ ํธ๋ค๋ฌ ํจ์๋ `async def`๊ฐ ์๋ ํ์ค `def`๋ก ์ ์ธํ๊ณ ์์ต๋๋ค. !!! info "์ ๋ณด"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Apr 02 22:35:55 GMT 2024 - 2.2K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
```Python hl_lines="1 13" {!../../../docs_src/events/tutorial003.py!} ``` A **context manager** in Python is something that you can use in a `with` statement, for example, `open()` can be used as a context manager: ```Python with open("file.txt") as file: file.read() ``` In recent versions of Python, there's also an **async context manager**. You would use it with `async with`: ```Python
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.8K bytes - Viewed (0)