Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 873 for Pythona (0.07 sec)

  1. configure

    #!/usr/bin/env bash
    
    set -e
    set -o pipefail
    
    if [ -z "$PYTHON_BIN_PATH" ]; then
      PYTHON_BIN_PATH=$(which python3 || which python || true)
    fi
    
    # Set all env variables
    CONFIGURE_DIR=$(dirname "$0")
    "$PYTHON_BIN_PATH" "${CONFIGURE_DIR}/configure.py" "$@"
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sun Apr 12 14:04:24 UTC 2020
    - 285 bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/debugging.md

    다음과 같이 실행하면
    
    <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
    from myapp import app
    
    # Some more code
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. .pre-commit-config.yaml

    # See https://pre-commit.com for more information
    # See https://pre-commit.com/hooks.html for more hooks
    default_language_version:
        python: python3.10
    repos:
    -   repo: https://github.com/pre-commit/pre-commit-hooks
        rev: v5.0.0
        hooks:
        -   id: check-added-large-files
        -   id: check-toml
        -   id: check-yaml
            args:
            -   --unsafe
        -   id: end-of-file-fixer
        -   id: trailing-whitespace
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 20:31:44 UTC 2024
    - 733 bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/body-nested-models.md

    Deklarieren wir also `tags` als Set von Strings.
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="12"
    {!> ../../docs_src/body_nested_models/tutorial003_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="14"
    {!> ../../docs_src/body_nested_models/tutorial003_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="1  14"
    {!> ../../docs_src/body_nested_models/tutorial003.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/devel.usertools/setup_venv_test.sh

    # 
    # This will create a venv with that wheel file installed in it, and a symlink
    # in ./venv_and_symlink_name/tensorflow to ./tensorflow. We use this for the
    # "pip" tests.
    
    python -m venv /$1
    mkdir -p $1
    rm -f ./$1/tensorflow
    ln -s $(ls /$1/lib) /$1/lib/python3
    ln -s ../tensorflow $1/tensorflow
    # extglob is necessary for @(a|b) pattern matching
    # see "extglob" in the bash manual page ($ man bash)
    bash -O extglob -c "/$1/bin/pip install $2"
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. docs/select/README.md

    ## Example using Python API
    
    ### 1. Prerequisites
    
    - Install MinIO Server from [here](https://min.io/docs/minio/linux/index.html#procedure).
    - Familiarity with AWS S3 API.
    - Familiarity with Python and installing dependencies.
    
    ### 2. Install boto3
    
    Install `aws-sdk-python` from AWS SDK for Python official docs [here](https://aws.amazon.com/sdk-for-python/)
    
    ### 3. Example
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  7. ci/official/utilities/setup_macos.sh

    set +x
    if [[ -n "${GOOGLE_APPLICATION_CREDENTIALS:-}" ]]; then
      # 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.
      export CLOUDSDK_PYTHON=$(which python3.11)
      gcloud auth activate-service-account --key-file="${GOOGLE_APPLICATION_CREDENTIALS}"
    fi
    set -x
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Feb 15 15:23:28 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. ci/official/utilities/cleanup_summary.sh

    # Each failed target there will have its own representation, making failures
    # easier to find and read.
    function resultstore_extract {
      local PYTHON_BIN XML_PATH
      PYTHON_BIN=$(which python3 2>/dev/null || which python)
      XML_PATH="$TFCI_OUTPUT_DIR/Bazel_Test_and_Build_Results/sponge_log.xml"
    
      "$PYTHON_BIN" \
        "$TFCI_GIT_DIR/ci/official/utilities/extract_resultstore_links.py" \
        "$TFCI_OUTPUT_DIR/script.log" \
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Aug 07 23:01:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. ci/official/utilities/convert_msys_paths_to_win_paths.py

    #!/usr/bin/python3
    # Copyright 2024 The TensorFlow Authors. All Rights Reserved.
    #
    # Licensed under the Apache License, Version 2.0 (the "License");
    # you may not use this file except in compliance with the License.
    # You may obtain a copy of the License at
    #
    #     http://www.apache.org/licenses/LICENSE-2.0
    #
    # Unless required by applicable law or agreed to in writing, software
    # distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Aug 07 23:01:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/settings.md

    ```
    
    </div>
    
    ////
    
    ### Umgebungsvariablen mit Python auslesen
    
    Sie können Umgebungsvariablen auch außerhalb von Python im Terminal (oder mit einer anderen Methode) erstellen und diese dann mit Python auslesen.
    
    Sie könnten zum Beispiel eine Datei `main.py` haben mit:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip | "Tipp"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 17.7K bytes
    - Viewed (0)
Back to top