title: How do I solve NameError: name 'threading' is not defined in python 3.3
body: <p>I have the following program, and nothing else, python 3.3. When I run it. I get </p>
  
  <pre><code>NameError: name 'threading' is not defined
  </code></pre>
  
  <p>I googled but none of the answers given explain my situation. any clues? Thanks!</p>
  
  <pre><code>#!/usr/bin/python
  
  import Utilities
  import os
  import sys
  import getopt
  import time
  from queue import Queue
  from threading import Thread
  
  _db_lock=threading.Lock()
  </code></pre>
  
  <p>I also tried</p>
  
  <pre><code>_db_lock=threading.Lock
  </code></pre>