About 4,960,000 results
Open links in new tab
  1. What is the purpose of the `self` parameter? Why is it needed?

    self is inevitable. There was just a question should self be implicit or explicit. Guido van Rossum resolved this question saying self has to stay. So where the self live? If we would just stick to …

  2. When do you use 'self' in Python? - Stack Overflow

    Oct 18, 2016 · Adding an answer because Oskarbi's isn't explicit. You use self when:. Defining an instance method. It is passed automatically as the first parameter when you call a method on …

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

    Jul 8, 2017 · Remember, since self is the instance, this is equivalent to saying jeff.name = name, which is the same as jeff.name = 'Jeff Knupp. Similarly, self.balance = balance is the same as …

  4. security - How do I create a self-signed certificate for code signing ...

    Sep 17, 2008 · While you can create a self-signed code-signing certificate (SPC - Software Publisher Certificate) in one go, I prefer to do the following: Creating a self-signed certificate …

  5. What is SELF JOIN and when would you use it? [duplicate]

    Jun 13, 2024 · A self join is simply when you join a table with itself. There is no SELF JOIN keyword, you just write an ordinary join where both tables involved in the join are the same …

  6. php - When should I use 'self' over '$this'? - Stack Overflow

    @Sqoo - saying "DO NOT USE self::, use static::" is a strange point to make - those are deliberately not the same operation. I think the point you are really making is "it is clearer if …

  7. ssl - How to create a self-signed certificate for a domain name for ...

    Oct 18, 2013 · This is not really about self-signed certificates, but still related to the whole process: After following the above steps, Edge may not show any content when you open up …

  8. Why do I get "TypeError: Missing 1 required positional argument: …

    The self keyword in Python is analogous to this keyword in C++ / Java / C#.. In Python 2 it is done implicitly by the compiler (yes Python does compilation internally).

  9. add or create 'Subject Alternative Name' field to self-signed ...

    Apr 28, 2017 · These two examples create a self-signed SSL server certificate in the computer MY store with the subject alternative names www.fabrikam.com and www.contoso.com and …

  10. How can I create a self-signed certificate for 'localhost'?

    After days of try, we have adopted the solution openssl.exe. We use 2 certificates - a CA (self certified Authority certificate) RootCA.crt and xhost.crt certified by the former. We use …