title: File importing in python
body: <pre><code>   1. from wtforms import StringField, PasswordField
     2. from wtforms.validators import (DataRequired, Regexp, Email, ValidationError)
  </code></pre>
  
  <p>The first line probably means (correct me if I am wrong) that there is a file name wtforms.py having classes StringField and PasswordField defined in it.
  But I am unable to understand what does the second line means. Does it mean that there is a folder name 'wtforms' having validators.py in it that has classes like DataRequired, Regexp and all? If yes, how does python interpreter differentiates between a 'wtform' folder and a 'wtform.py' file?</p>