title: Attribute error module object has no attribute -- Caused by circular imports?
body: <p>Module OTS</p>
  
  <pre><code>from Tkinter import *
  import openTableApiGet
  
  #bunch of code blah blah blah
  
  openTableApiGet.main() # call to the method in the OpenTableApiGet module
  </code></pre>
  
  <p>Module OpenTableApiGet</p>
  
  <pre><code>import OTS
  
   class Parser:
  
  #Bunch of code in the class doing stuff
  
  
  def main(): 
  #bunch of code
  
  #The main method the complier says this module 
  #doesn't have. Outside of `the Parser class, 
  #just hanging out on its  own
  </code></pre>
  
  <p>Why is this happening? is the circular import to blame I'd rather keep it but If I must change it I will. I need to write more to make stackoverflow happy so I hope you find tacos in your life soon!</p>
  
  <p>Thanks everyone</p>