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. javascript - ajax jquery simple get request - Stack Overflow

    ajax jquery simple get request Asked 13 years, 10 months ago Modified 6 years, 3 months ago Viewed 264k times

  3. Why doesn't list have safe "get" method like dictionary?

    Ultimately it probably doesn't have a safe .get method because a dict is an associative collection (values are associated with names) where it is inefficient to check if a key is present (and …

  4. What is the "get" keyword before a function in a class?

    The 'get' lets you treat a class method, as if it were a simple property in an object. If you leave off the 'get', you can still access the value by calling .area () instead of just .area

  5. Get the values from the "GET" parameters (JavaScript)

    So, I've come up with a simpler script that returns all the GET parameters in a single object. You should call it just once, assign the result to a variable and then, at any point in the future, get …

  6. python - What does request.GET.get mean? - Stack Overflow

    11 request.GET is the dictionary of the GET variables in the http request made to your server for example:

  7. When do you use POST and when do you use GET? - Stack Overflow

    Sep 6, 2008 · From what I can gather, there are three categories: Never use GET and use POST Never use POST and use GET It doesn't matter which one you use. Am I correct in assuming …

  8. 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.

  9. 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 …

  10. Understanding __get__ and __set__ and Python descriptors

    Sep 26, 2010 · Non-data descriptors, instance and class methods, get their implicit first arguments (usually named self and cls, respectively) from their non-data descriptor method, …