finding python modules

Jay Dorsey jay at jaydorsey.com
Sun Dec 7 04:10:56 CET 2003


On Sun, Dec 07, 2003 at 12:54:06AM +0000, python newbie wrote:
> Guys,
> Very beginner question.
> I'm importing xml.dom.minidom at the top of my file.
> 
> I'm trying to figure out where the heck this is. According to Quick Python,
> there should be folders on my drive
>  (using XP), under c:\python23,   named xml, then underneath: dom, etc.  But
> there isn't.

You missed one folder under the python folder: Lib. Full path should
resemble something like:

C:\Python23\Lib\xml

Sometimes you can also find modules installed in the site-packages directory
underneath the lib folder.



-- 
Jay Dorsey
jay at jaydorsey dot com





More information about the Python-list mailing list