title: Python - Date and Time: AttributeError: 'module' object has no attribute 'month'
body: <p>This is my calendar code in Python and I have saved it to my folder as <code>calendar.py</code>.</p>
  
  <pre><code>import calendar
  a = calendar.month(2016, 3)
  print (a)
  print ("The Calendar :")
  </code></pre>
  
  <p>When I execute it, it raises an error :</p>
  
  <pre><code>Traceback (most recent call last):
    File "calendar.py", line 1, in &lt;module&gt;
      import calendar
    File "/opt/lampp/htdocs/py/calendar.py", line 2, in &lt;module&gt;
      a = calendar.month(2016, 3)
  AttributeError: 'module' object has no attribute 'month'
  </code></pre>
  
  <p>What's going on?</p>