On Wed, 04 Jul 2007 20:00:07 +0000, [EMAIL PROTECTED] wrote: > I'm looking at the source for the module sre_compile.py and it does > this import: > > import _sre > > But I can't find a file related to _sre anywhere. Where is it? And > more generally, how does one find the location of a built in module?
It's built into the interpreter executable. In [85]: import _sre In [86]: _sre Out[86]: <module '_sre' (built-in)> Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list