title: python- why does my program tells me it's not callable
body: <p>I made a class in python and when I tried to call it into another python file (after importing it) it doesn't recognizes it as a class but as an object and then it tells me that my class is not callable</p>
  
  <p>here is my class:</p>
  
  <pre><code>class Cell:
      def __init__(self,value=9,isVissible=False):
          self.value=value
          self.isVisible=isVissible
      def setValue(self,value):
          self.value=value
      def setVisible(self):
          self.visible=True
  </code></pre>
  
  <p>and here is where I tried to call it:</p>
  
  <pre><code>import Cell,random
  class Board:
      def __init__(self):
          self.board = []
          for i in range(12):
              a = []
              for j in range(12):
                  x = Cell()   &lt;=== right here it's an error
  .
  .
  .(the rest of my program)
  </code></pre>
  
  <p>and finally here is the error:</p>
  
  <pre><code>x=Cell()
  TypeError: 'module' object is not callable
  </code></pre>
  
  <p>can anyone help me fix this, even my teacher didn't understand my mistake</p>