title: Timeit module -passing arguments to python timeit module
body: <p>from python timeit module i want to check how much time does it take to print the following , how to do so,</p>
  
  <pre><code>import timeit
  x = [x for x in range(10000)]
  timeit.timeit("print x[9999]")
  d=[{i:i} for i in x]
  timeit.timeit("print d[9999]")
  
  NameError: global name 'x' is not defined
  NameError: global name 'd' is not defined
  </code></pre>