title: how to call setter from another module in python
body: <p>I'm new to Python, I want to call a getter from another module</p>
  
  <p><strong>menu.py</strong></p>
  
  <pre><code>class settings(object):
      def __init__(self):
          self.fbType=None
  
      @property
      def fbType(self):
          return self.fbType
      @fbType.setter
      def fbType(self, value):
          self.fbType = value
  
  def main():
      print(20 * '-')
      print('   M E N U')
      print(30 * '-')
      print('1. page')
      print('2. event')
      print(20 * '-')
  
      choice = input('Enter your choice [1-5] : ')
      choice = int(choice)
  
      if choice == 1:
          fbType = 'page'
      elif choice == 2:
          fbType = 'event'
      else:
          print('seleccion incorrecta')
  
  
  if __name__ == '__main__':
      main()
  </code></pre>
  
  <p><strong>fb.py</strong></p>
  
  <pre><code>import menu
  from menu import settings
  
  def main():
      menu.main()
      m = settings()
      l1 = fb.data(m.fbType(), 'python', 1)
      print(l1)
  
  if __name__ == '__main__':
      main()
  </code></pre>
  
  <p>The error that is giving me is the following</p>
  
  <pre><code>File "C:\Users\gabri\PycharmProjects\borrar\menu.py", line 10, in fbType
  self.fbType = value
  [Previous line repeated 493 more times]
  </code></pre>
  
  <p>Please, could you give me a hand with the error? Thanks in advance</p>