[Tutor] where is the function from

Eric Brunson brunson at brunson.com
Thu Oct 25 07:28:32 CEST 2007


linda.s wrote:
> How can I know where a function such as abc is from (from which module)?
>   
>>>> abc
>>>>         
> <built-in function abc>
>   

You could:

   1. look it up in the index of the library reference
      (http://www.python.org/doc/current/lib/genindex.html),
   2. try "pydoc",
   3. examine abc.__module__

Let us know if none of those help.

e.



More information about the Tutor mailing list