Why does my import time give error module object is not callable
<p>I just want to use the import time function to get a timestamp from python.</p>

<pre><code>import time
</code></pre>

<p>I have this sample test code which works just fine on cloud 9.</p>

<pre><code>import time
now = int(time.time() * 1000)
print now
</code></pre>

<p>But it doesn't work on my mac. I get an error right on line 1.</p>

<pre><code>Python 2.7.11 (default, Mar 21 2016, 23:21:56) 
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
&gt;&gt;&gt; import time
Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  File "time.py", line 2, in &lt;module&gt;
    now = int(time.time() * 1000)
TypeError: 'module' object is not callable
&gt;&gt;&gt; 
</code></pre>

<p>Not sure what is going on here it is frustrating.</p>