Where is time module?

Jason Orendorff jason at jorendorff.com
Thu Dec 20 19:21:20 EST 2001


Jeff Sandys wrote:
> I can't import the time module or find it anywhere in the 
> Python-2.1.1.tgz distribution.

It's written in C; source code is in "src/Modules/timemodule.c".

Try this:

  >>> import sys
  >>> print sys.builtin_module_names

What does it say?

## Jason Orendorff    http://www.jorendorff.com/







More information about the Python-list mailing list