Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 353 for Print (0.04 sec)

  1. docs/en/docs/environment-variables.md

    For example you could have a file `main.py` with:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    The second argument to <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> is the default value to return.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Sep 08 20:36:53 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/dependencies/dependencies-with-yield.md

    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    ๐Ÿ”˜, `open("./somefile.txt")` โœ ๐ŸŽš ๐Ÿ‘ˆ ๐Ÿค™ "๐Ÿ”‘ ๐Ÿ‘จโ€๐Ÿ’ผ".
    
    ๐Ÿ•โ” `with` ๐Ÿซ ๐Ÿ, โšซ๏ธ โš’ ๐Ÿ’ญ ๐Ÿ” ๐Ÿ“, ๐Ÿšฅ ๐Ÿ“ค โš .
    
    ๐Ÿ•โ” ๐Ÿ‘† โœ ๐Ÿ”— โฎ๏ธ `yield`, **FastAPI** ๐Ÿ”œ ๐Ÿ”˜ ๐Ÿ—œ โšซ๏ธ ๐Ÿ”‘ ๐Ÿ‘จโ€๐Ÿ’ผ, &amp; ๐ŸŒ€ โšซ๏ธ โฎ๏ธ ๐ŸŽ ๐Ÿ”— ๐Ÿงฐ.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

            .addEqualityGroup(wrapperFunction.apply(instance), wrapperFunction.apply(instance))
            .addEqualityGroup(wrapperFunction.apply(generator.newFreshProxy(interfaceType)))
            // TODO: add an overload to EqualsTester to print custom error message?
            .testEquals();
      }
    
      private static <T> void testToString(
          Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java

                    saveInfo(messages -> messages.addSuccessPrintThreadDump(GLOBAL));
                } catch (final Exception e) {
                    logger.warn("Failed to print a thread dump.", e);
                    throwValidationError(messages -> messages.addErrorsFailedToPrintThreadDump(GLOBAL), this::asListHtml);
                }
            }).orElse(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. common/scripts/kind_provisioner.sh

    if net_len > 2000:
      start, end = 1000, 2000
    
    [print(str(ip) + "/" + str(ip.max_prefixlen)) for ip in islice(ip_network('$CIDR').hosts(), start, end)]
    EOF
    }
    
    function ips_to_cidrs() {
      IP_RANGE_START="$1"
      IP_RANGE_END="$2"
      python3 - <<EOF
    from ipaddress import summarize_address_range, IPv4Address
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 21 04:47:23 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/extra-models.md

    ```
    
    ๅฐฑ่ƒฝไปฅๅฆ‚ไธ‹ๆ–นๅผ่ฐƒ็”จ๏ผš
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    ็Žฐๅœจ๏ผŒๅ˜้‡ `user_dict`ไธญ็š„ๅฐฑๆ˜ฏๅŒ…ๅซๆ•ฐๆฎ็š„**ๅญ—ๅ…ธ**๏ผˆๅ˜้‡ `user_dict` ๆ˜ฏๅญ—ๅ…ธ๏ผŒไธๆ˜ฏ Pydantic ๆจกๅž‹ๅฏน่ฑก๏ผ‰ใ€‚
    
    ไปฅๅฆ‚ไธ‹ๆ–นๅผ่ฐƒ็”จ๏ผš
    
    ```Python
    print(user_dict)
    ```
    
    ่พ“ๅ‡บ็š„ๅฐฑๆ˜ฏ Python **ๅญ—ๅ…ธ**๏ผš
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    #### ่งฃๅŒ… `dict`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. cmd/server-startup-msg.go

    	// Get saved credentials.
    	cred := globalActiveCred
    
    	// Get saved region.
    	region := globalSite.Region()
    
    	apiEndpointStr := strings.TrimSpace(strings.Join(apiEndpoints, "  "))
    	// Colorize the message and print.
    	logger.Startup(color.Blue("API: ") + color.Bold(fmt.Sprintf("%s ", apiEndpointStr)))
    	if color.IsTerminal() && (!globalServerCtxt.Anonymous && !globalServerCtxt.JSON && globalAPIConfig.permitRootAccess()) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 23 14:11:35 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

                            .filter(StringUtil::isNotBlank).orElse("-"));
            log(valueMap);
        }
    
        public void print(final String action, final OptionalThing<FessUserBean> user, final Map<String, String> params) {
            final Map<String, String> valueMap = new LinkedHashMap<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    Here are the affected tests:
    EOF
        while read dep; do
          echo "For dependency $dep:"
          # For every missing dependency, find the tests which directly depend on
          # it, and print that list for debugging. Not really clear if this is
          # helpful since the only examples I've seen are enormous.
          bazel query "rdeps(kind(py_test, $(cat $BATS_TEST_TMPDIR/deps)), $dep, 1)"
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Aug 14 18:47:44 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/extra-models.md

    ```
    
    &amp; โคด๏ธ ๐Ÿ‘ฅ ๐Ÿค™:
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    ๐Ÿ‘ฅ ๐Ÿ”œ โœ”๏ธ `dict` โฎ๏ธ ๐Ÿ’ฝ ๐Ÿ”ข `user_dict` (โšซ๏ธ `dict` โ†ฉ๏ธ Pydantic ๐Ÿท ๐ŸŽš).
    
    &amp; ๐Ÿšฅ ๐Ÿ‘ฅ ๐Ÿค™:
    
    ```Python
    print(user_dict)
    ```
    
    ๐Ÿ‘ฅ ๐Ÿ”œ ๐Ÿคš ๐Ÿ `dict` โฎ๏ธ:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    #### ๐ŸŽ `dict`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top