Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1471 - 1480 of 1,956 for Read (0.05 seconds)

  1. docs/de/docs/advanced/settings.md

    ### Die `.env`-Datei { #the-env-file }
    
    Sie könnten eine `.env`-Datei haben, mit:
    
    ```bash
    ADMIN_EMAIL="******@****.***"
    APP_NAME="ChimichangApp"
    ```
    
    ### Einstellungen aus `.env` lesen { #read-settings-from-env }
    
    Und dann aktualisieren Sie Ihre `config.py` mit:
    
    {* ../../docs_src/settings/app03_an_py310/config.py hl[9] *}
    
    /// tip | Tipp
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  2. docs/uk/docs/tutorial/dependencies/dependencies-with-yield.md

    Наприклад, [можна використати `with`, щоб прочитати файл](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files):
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Під капотом `open("./somefile.txt")` створює об'єкт, який називається «Менеджер контексту».
    
    Коли блок `with` завершується, він гарантує закриття файлу, навіть якщо були винятки.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 18.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                return false;
            }
            return true;
        }
    
        int readCharFromBuffer() throws IOException {
            if (readBufferIndex >= readBufferLen) {
                readBufferLen = input.read(readBuffer);
                if (readBufferLen == -1) {
                    return -1;
                }
                readBufferIndex = 0;
            }
            final int c = readBuffer[readBufferIndex++];
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 17K bytes
    - Click Count (0)
  4. docs/es/docs/advanced/events.md

    Un **context manager** en Python es algo que puedes usar en un statement `with`, por ejemplo, `open()` puede ser usado como un context manager:
    
    ```Python
    with open("file.txt") as file:
        file.read()
    ```
    
    En versiones recientes de Python, también hay un **async context manager**. Lo usarías con `async with`:
    
    ```Python
    async with lifespan(app):
        await do_stuff()
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  5. docs/pt/docs/environment-variables.md

    $ $Env:MY_NAME = "Wade Wilson"
    
    // Usá-la com outros programas, como
    $ echo "Hello $Env:MY_NAME"
    
    Hello Wade Wilson
    ```
    
    </div>
    
    ////
    
    ## Ler Variáveis de Ambiente no Python { #read-env-vars-in-python }
    
    Você também pode criar variáveis de ambiente **fora** do Python, no terminal (ou com qualquer outro método) e depois **lê-las no Python**.
    
    Por exemplo, você poderia ter um arquivo `main.py` com:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  6. lib/fips140/v1.26.0.zip

    that aliases into it and contains only the extra bytes. If the // original slice has sufficient capacity then no allocation is performed. func sliceForAppend(in []byte, n int) (head, tail []byte) { if total := len(in) + n; cap(in) >= total { head = in[:total] } else { head = make([]byte, total) copy(head, in) } tail = head[len(in):] return } golang.org/fips140@v1.26.0/fips140/v1.26.0/aes/gcm/gcm_amd64.s // Code generated by command: go run gcm_amd64_asm.go -out ../../gcm_amd64.s -pkg aes. DO NOT EDIT....
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 08 17:58:32 GMT 2026
    - 660.3K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/advanced/events.md

    {* ../../docs_src/events/tutorial003_py310.py hl[1,13] *}
    
    Python 中的**內容管理器(context manager)**可以用在 `with` 陳述式中,例如 `open()` 可以作為內容管理器使用:
    
    ```Python
    with open("file.txt") as file:
        file.read()
    ```
    
    在較新的 Python 版本中,也有**非同步內容管理器**。你可以用 `async with` 來使用它:
    
    ```Python
    async with lifespan(app):
        await do_stuff()
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  8. fastapi/dependencies/utils.py

                isinstance(field_info, params.File)
                and is_bytes_or_nonable_bytes_annotation(field.field_info.annotation)
                and isinstance(value, UploadFile)
            ):
                value = await value.read()
            elif (
                is_bytes_sequence_annotation(field.field_info.annotation)
                and isinstance(field_info, params.File)
                and value_is_sequence(value)
            ):
                # For types
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 38.7K bytes
    - Click Count (3)
  9. docs/ko/docs/advanced/stream-data.md

    이 예시처럼 메모리 상의 가짜 파일(`io.BytesIO`)이라면 크게 중요하지 않지만, 실제 파일의 경우 작업이 끝난 뒤 파일을 닫는 것이 매우 중요합니다.
    
    ### 파일과 비동기 { #files-and-async }
    
    대부분의 경우 파일 유사 객체는 기본적으로 async/await와 호환되지 않습니다.
    
    예를 들어 `await file.read()`나 `async for chunk in file`과 같은 패턴을 지원하지 않습니다.
    
    또한 디스크나 네트워크에서 읽기 때문에, 많은 경우 읽기 작업은 이벤트 루프를 막을 수 있는 블로킹 연산입니다.
    
    /// info | 정보
    
    위의 예시는 예외적인 경우입니다. `io.BytesIO` 객체는 이미 메모리에 있으므로 읽기가 아무 것도 차단하지 않습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:56:39 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  10. docs/fr/docs/advanced/settings.md

    ### Le fichier `.env` { #the-env-file }
    
    Vous pouvez avoir un fichier `.env` avec :
    
    ```bash
    ADMIN_EMAIL="******@****.***"
    APP_NAME="ChimichangApp"
    ```
    
    ### Lire les paramètres depuis `.env` { #read-settings-from-env }
    
    Puis mettre à jour votre `config.py` avec :
    
    {* ../../docs_src/settings/app03_an_py310/config.py hl[9] *}
    
    /// tip | Astuce
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.3K bytes
    - Click Count (0)
Back to Top