About 11,000,000 results
Open links in new tab
  1. oop - Why do you need explicitly have the "self" argument in a …

    Many have proposed to make self a keyword in Python, like this in C++ and Java. This would eliminate the redundant use of explicit self from the formal parameter list in methods.

  2. What is the purpose of the `self` parameter? Why is it needed?

    For a language-agnostic consideration of the design decision, see What is the advantage of having this/self pointer mandatory explicit?. To close debugging questions where OP omitted a …

  3. oop - What do __init__ and self do in Python? - Stack Overflow

    Jul 8, 2017 · In this case, there are some benefits to allowing this: 1) Methods are just functions that happen defined in a class, and need to be callable either as bound methods with implicit …

  4. How can I generate a self-signed SSL certificate using OpenSSL?

    A self-signed certificate does not chain back to a trusted anchor. The best way to avoid this is: Create your own authority (i.e., become a CA) Create a certificate signing request (CSR) for …

  5. How to bypass certificate errors using Microsoft Edge

    Jul 2, 2020 · To allow a self-signed certificate to be used by Microsoft-Edge it is necessary to use the "certmgr.msc" tool from the command line to import the certificate as a Trusted Certificate …

  6. How to get Python requests to trust a self signed SSL certificate?

    In my case, I was using self-signed certificate generated by mkcert. While curl works fine with such self-signed certificates, the Python requests module does not.

  7. node.js - NPM self_signed_cert_in_chain - Stack Overflow

    NPM self_signed_cert_in_chain Asked 9 years, 10 months ago Modified 4 months ago Viewed 205k times

  8. Difference between 'cls' and 'self' in Python classes?

    Why is cls sometimes used instead of self as an argument in Python classes? For example: class Person: def __init__(self, firstname, lastname): self.firstname = firstname self.

  9. Difference between _self, _top, and _parent in the anchor tag …

    Aug 27, 2013 · I know _blank opens a new tab when used with the anchor tag and also, there are self-defined targets I use when using framesets but I will like to know the difference between …

  10. Python class methods: when is self not needed - Stack Overflow

    Jun 25, 2017 · You don't have to name it self, that's just a convention (but one you should stick to, as anything else would be confusing), but you always have to include that initial parameter that …