Find This Module

Peter Otten __peter__ at
Thu Jul 5 10:34:54 CEST 2007

gregpinero at wrote:

> I'm looking at the source for the module and it does
> this import:
> import _sre
> But I can't find a file related to _sre anywhere.  Where is it?  

If you want the source code, have a look at

> And more generally, how does one find the location of a built in module?

For the source of modules written in C, built in or not, you have to look in
the source distribution. 


More information about the Python-list mailing list