title: Python 3.5.2: Import a class that imports another class in subdirectory
body: <p>I'm new to stackoverflow and Python so sorry for the mistakes.</p>
  
  <p>I have <code>game.py</code> that is in this project directory.</p>
  
  <p>I have two classes, CardClass &amp; CardDeckClass in the classes subdirectory.</p>
  
  <p>CardDeckClass uses CardClass.</p>
  
  <pre><code>/project/game.py
  /project/classes/CardClass.py
  /project/classes/CardDeckClass.py
  </code></pre>
  
  <p>I'm having trouble importing CardDeckClass to <code>game.py</code></p>
  
  <p>So far I have tried this:</p>
  
  <pre><code>*CardClass.py*
  class CardClass:
      ##functionality for CardClass
  
  *CardDeckClass.py*
  from random import shuffle
  from CardClass import CardClass
  class CardDeckClass:
      ##functionality for CardDeckClass
  
  *game.py*
  from classes.CardDeckClass import CardDeckClass
  
  testDeck = CardDeckClass()
  print("Amount of cards in deck: ", testDeck.getCardCount())
  </code></pre>
  
  <p>The above gives me an error on the 2nd line in CardDeckClass.py: <code>from CardClass import CardClass</code></p>
  
  <p>ImportError: No module named 'CardClass'</p>
  
  <p>Any tips or ideas on how to solve this issue? Thanks!</p>