title: TypeError: 'pygame.Surface' object is not callable [Pygame module]
body: <p>I have been designing a game recently as I'm starting a course at school
  and thought it would be helpful to get ahead.</p>
  
  <p>I encountered the error </p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Users\Jake\Documents\Dungeon Crawler 2.1\Main.py", line 100, in &lt;module&gt;
      town()    
    File "C:\Users\Jake\Documents\Dungeon Crawler 2.1\Main.py", line 85, in town
      houseSpr1(0,250)
  TypeError: 'pygame.Surface' object is not callable
  </code></pre>
  
  <p>While executing this code.</p>
  
  <pre><code>def town ():
      global outTown
      while not outTown:
              for event in pygame.event.get():
                      if event.type == pygame.MOUSEBUTTONDOWN:
                              print (event)
                              mx, my = pygame.mouse.get_pos()
                              mx = mx + my
                              if 375 &lt;= mx &lt;= 448:
                                      outTown = True
                                      print ("OK!")
                      if event.type == pygame.QUIT:
                              pygame.quit()
                              quit()
  
              houseSpr1 = pygame.image.load ('houseD.png') # default house img
              houseSpr1(0,250)
              gameDisplay.fill(green) # background
              pygame.draw.rect(gameDisplay,grey,(0,400,1280,50)) # main path
              pygame.draw.rect(gameDisplay,grey,(200,125,50,280)) # branch path
              player(x,y)
              pygame.display.update()
              clock.tick(60)
  
  def houseSpr1(a,b):
      gameDisplay.blit(houseSpr1, (0,250))
  
  def house1():
      global outHouse
      while not outHouse:
              gameDisplay.fill(black)
  town()
  houseSpr1()
  gameIntro()
  house1()
  pygame.quit()
  quit()
  </code></pre>
  
  <p>I understand this code may be inefficient in some ways, and I would be happy to know how I can improve it as well if you wish to provide insight in that light.</p>
  
  <hr>
  
  <p>Any help with this error would be appreciated. And yes, I have read the rest of the questions before mine and I saw it was mostly down to typographical errors, but I can not see any of those here.</p>