title: cannot import name "B" from "A"
body: <p>I am here to ask what seems to be a very dumb question, but just cannot find a fix for it. I'm just a beginner and I've also searched StackOverflow for multiple results but such problems are not related to mine. If I've missed one, I'm sorry about that.</p>
  <p>my problem is that I'm trying to re-create one of my first console games into an OOP one, but for some reason, I cannot import modules?</p>
  <p>firs, I would like to say that I created this on my laptop with Pop os. and that the mentioned two file are the only file on the directory.</p>
  <p>so I created a <code>battle_main.py</code> and <code>battle_mechanics.py</code></p>
  <p>on the <code>battle_mechanics.py</code>, it only has the following lines:</p>
  <pre><code>class User_Interface:
      def __init__(self):
          self.player_health = 30
          self.squid_health = 30
  </code></pre>
  <p>and on the <code>battle_main.py</code>:</p>
  <pre><code>from battle_mechanics import User_Interface
  
  ui = User_Interface()
  </code></pre>
  <p>it's literally just that, yet I cannot import it. it's resulting in <code>ImportError: cannot import name 'User_Interface' from 'battle_mechanics'</code> I know that it's a very simple problem, but I really can't find any fix to it? in fact, I think there's not even a problem in the way I'm importing it. it just wont work. any help is appreciated.</p>