About 50 results
Open links in new tab
  1. Understanding .get () method in Python - Stack Overflow

    Here the get method finds a key entry for 'e' and finds its value which is 1. We add this to the other 1 in characters.get (character, 0) + 1 and get 2 as result.

  2. What does the => operator mean in a property or method?

    What you're looking at is an expression-bodied member not a lambda expression. When the compiler encounters an expression-bodied property member, it essentially converts it to a …

  3. What is the { get; set; } syntax in C#? - Stack Overflow

    The get/set pattern provides a structure that allows logic to be added during the setting ('set') or retrieval ('get') of a property instance of an instantiated class, which can be useful when some …

  4. rest - HTTP GET with request body - Stack Overflow

    Jun 11, 2009 · I'm developing a new RESTful webservice for our application. When doing a GET on certain entities, clients can request the contents of the entity. If they want to add some …

  5. Why dict.get (key) instead of dict [key]? - Stack Overflow

    Jun 15, 2012 · I came across the dict method get which, given a key in the dictionary, returns the associated value. For what purpose is this function useful? If I wanted to find a value …

  6. How to exclude list of items from Get-ChildItem result in …

    I want to get list of files (actually number of files) in a path, recursively, excluding certain types:

  7. Understanding dictionary.get in Python - Stack Overflow

    Sep 14, 2016 · What is confusing you? You evidently know what .get invoked on a dictionary does, that's what's being called for each key in the dictionary.

  8. Unable to get local issuer certificate when using requests

    The get function has also got the verify parameter. It is also possible, when using a session, see the example in the documentation. Then it worked.

  9. docker - How to resolve tls: failed to verify certificate: x509 ...

    Mar 10, 2023 · You get that, when the SSL cert returned by the server is not trusted. In most cases, this caused by a company proxy serving the URLs to you and signing the data with its …

  10. How can I get parameters from a URL string? - Stack Overflow

    Use the parse_url () and parse_str () methods. parse_url() will parse a URL string into an associative array of its parts. Since you only want a single part of the URL, you can use a …