title: TypeError: gettext() missing 1 required positional argument: 'self' - python
body: <p>I'm new to python and I'm tring to make a class for a modul which checking curses in texts.
  can someone help please?</p>
  
  <pre><code>import urllib
  
  class Checktext:
  
      def __init__(self, text):
          self.text = text
  
      def gettext(self):
          file = open(self.text, "r")
          filetext = open.read()
          for word in filetext.split():
              openurl = urllib.request.urlopen("http://www.wdylike.appspot.com/?q=" + word)
              output = openurl.read()
              truer = "true" in str(output)
              print(truer)
  
  s = Checktext(r"C:\Users\Tzach\.atom\Test\Training\readme.txt") 
  Checktext.gettext()
  </code></pre>