Where is time module?
Michael Hudson
mwh at python.net
Fri Dec 21 06:36:10 EST 2001
"Jason Orendorff" <jason at jorendorff.com> writes:
> 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?
Or look in $(prefix)/lib/python2.1/lib-dynload/ for timemodule.so.
Cheers,
M.
More information about the Python-list
mailing list