Xiao Jianfeng wrote:

> In pymol I can use "from chempy import Atom" but "import
> chempy.Atom" doesn't work. It says,"ImportError: No module
> named Atom". What is going wrong ?

are you sure Atom is a module ?

compare:

>>> from os import remove
>>> remove
<built-in function remove>

>>> import os.remove
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named remove

</F>



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

Reply via email to