title: ImportError: cannot import name Thread
body: <p>It's my first time to learn python, and I went ahead to try threading from <a href="http://www.saltycrane.com/blog/2008/09/simplistic-python-thread-example/" rel="noreferrer">this blog post</a>. The problem is it seems to be outdated:</p>
  
  <pre><code>import time
  from threading import Thread
  
  def myfunc(i):
      print ("sleeping 5 sec from thread %d" % i)
      time.sleep(5)
      print ("finished sleeping from thread %d" % i)
  
  for i in range(10):
      t = Thread(target=myfunc, args=(i,))
      t.start()
  </code></pre>
  
  <p>How do I run this code without having this error:</p>
  
  <pre><code>$ python helloworld.py
  Traceback (most recent call last):
    File "helloworld.py", line 1, in &lt;module&gt;
      import threading
    File "c:\Documents and Settings\Hermione\learningPython\threading.py", line 2, in &lt;module&gt;
      from threading import Thread
  ImportError: cannot import name Thread
  </code></pre>
  
  <p>It's also weird that I have <code>threading.py</code> there for the fact that <strong>I already deleted that file</strong> (and it keeps appearing!!), and a mysterious <code>__PyCache__</code> folder.</p>