code: def deposit(self, amount):
          
          pg = self.usr.getPage("http://www.neopets.com/bank.phtml")
          
          if self.usr.nps < int(amount):
              raise notEnoughNps
              
          form = pg.form(action="process_bank.phtml")
          form.update({'type': 'deposit', 'amount': str(amount)})
          form.usePin = True
          pg = form.submit()
          
          # Success redirects to bank page
          if "It's great to see you again" in pg.content:
              self.__loadDetails(pg)
              return True
          else:
              logging.getLogger("neolib.user").info("Failed to deposit NPs for unknown reason. User NPs: " + str(self.usr.nps) + ". Amount: " + str(amount), {'pg': pg})
              return False
docs: Deposits specified neopoints into the user's account, returns result
             
          Parameters:
             amount (int) -- Amount of neopoints to deposit
             
          Returns
             bool - True if successful, False otherwise
             
          Raises
             notEnoughNps