Import conflict in Python?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/744373/python-circular-or-cyclic-imports">Python: Circular (or cyclic) imports</a>  </p>
</blockquote>



<p>I'm new to Python, and I'm having an issue, but I'm not exactly sure if this is my issue. I have two files, user.py and comments.py. In user.py, I do </p>

<pre><code>from comments import Comment
</code></pre>

<p>and in comments.py I do </p>

<pre><code>from user import User
</code></pre>

<p>My user loads fine, but when I load the URL that leads to comments, I get a server error. Commenting out the <code>from comments import Comment</code> fixes the problem. Am I doing something wrong?</p>
