Hello, look at this lxml documentation page:
http://codespeak.net/lxml/api/index.html

How do I access the functions and variables listed?

I tried from lxml.etree import ElementTree and the import itself seems to pass without complaint by the python interpreter but I can't seem to access anything in ElementTree, not the functions or variables. What is the proper way to import that module?

For example:
>>> from lxml.etree import ElementTree
>>> ElementTree.dump(None)
Traceback (most recent call last):
  File "<console>", line 1, in <module>

Also, can I access those items that begin with an underscore if I get the import sorted?

- Fencer
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to