title: datetime.datetime.strptime not present in Python 2.4.1
body: <p>Our team is required to use Python 2.4.1 in certain circumstances. <code>strptime</code> is not present in the <code>datetime.datetime</code> module in Python 2.4.1:</p>
  
  <pre><code>Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)]
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; import datetime
  &gt;&gt;&gt; datetime.datetime.strptime
  Traceback (most recent call last):
    File "&lt;string&gt;", line 1, in &lt;fragment&gt;
  AttributeError: type object 'datetime.datetime' has no attribute 'strptime'
  </code></pre>
  
  <p>As opposed to in 2.6:</p>
  
  <pre><code>Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] on win32
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; import datetime
  &gt;&gt;&gt; datetime.datetime.strptime
  &lt;built-in method strptime of type object at 0x1E1EF898&gt;
  </code></pre>
  
  <p>While typing this up, I found it in the time module of 2.4.1:</p>
  
  <pre><code>Python 2.4.1 (#65, Mar 30 2005, 09:16:17) [MSC v.1310 32 bit (Intel)]
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; import time
  &gt;&gt;&gt; time.strptime
  &lt;built-in function strptime&gt;
  </code></pre>
  
  <p>I take it that <code>strptime</code> moved at some point?  What's the best way to check things like this.  I tried looking through python's release history but couldn't find anything.</p>