title: How do you get the time and date in python?
body: <p>I am trying to get the date and time on python for a program I am writing, But I am unsure how to get them. I tried to do it like the following:</p>
  
  <pre><code>import datetime
  import date
  </code></pre>
  
  <p>This usually works but now it just prints:</p>
  
  <pre><code>&lt;module 'time' (built-in)&gt; &lt;module 'datetime' from 'C:\\Python34\\lib\\datetime.py'&gt;
  </code></pre>
  
  <p>How can I fix this?</p>