[lxml-dev] Really dumb question

Stefan Behnel stefan_ml at behnel.de
Thu Jul 2 06:18:02 CEST 2009


john mcginnis wrote:
> I have completed a build with easy_install. Looking at site-packages I also
> see a lxml directory that exists. What I don't find however is a lxml.py
> module anywhere.
> 
> If you have a successful build should there not be a lxml.py module
> somewhere?

No, lxml is a package, not a module. When you import "lxml", Python will
load "lxml/__init__.py" instead.

Stefan



More information about the lxml-dev mailing list