Noah Gift wrote: [snip] > a = long(time.time() * 256) # use fractional seconds > TypeError: 'module' object is not callable
Part of your program includes a file or directory that you called 'long'. You should not re-use names of built-ins in your programs.. they cause you to get errors like the above. see: >>> long('12') 12L >>> open("long.py",'w') <open file 'long.py', mode 'w' at 0x401e3380> >>> import long >>> long('12') Traceback (most recent call last): File "<stdin>", line 1, in ? TypeError: 'module' object is not callable >>> -- - Justin -- http://mail.python.org/mailman/listinfo/python-list