title: Python error, " 'module' object has no attribute 'lstrip' "
body: <p>Python documentation from <a href="http://docs.python.org/library/string.html" rel="nofollow noreferrer">http://docs.python.org/library/string.html</a> :</p>
  <blockquote>
  <p><code>string.lstrip(s[, chars])</code></p>
  <p>Return a copy of the string with leading characters removed. If <em>chars</em> is omitted or <code>None</code>, whitespace characters are removed. If given and not <code>None</code>, <em>chars</em> must be a string; the characters in the string will be stripped from the beginning of the string this method is called on.&quot;</p>
  </blockquote>
  <pre><code>Python 3.1.2 (r312:79360M, Mar 24 2010, 01:33:18) 
  [GCC 4.0.1 (Apple Inc. build 5493)] on darwin
  Type &quot;copyright&quot;, &quot;credits&quot; or &quot;license()&quot; for more information.
  &gt;&gt;&gt; import string
  &gt;&gt;&gt; x = 'Hi'
  &gt;&gt;&gt; string.lstrip(x,1)
  Traceback (most recent call last):
    File &quot;&lt;pyshell#2&gt;&quot;, line 1, in &lt;module&gt;
      string.lstrip(x,1)
  AttributeError: 'module' object has no attribute 'lstrip'
  &gt;&gt;&gt; 
  </code></pre>
  <p>What am I missing here?</p>