Xiao Jianfeng <[EMAIL PROTECTED]> writes: > 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 ?
I would trust the error message first, and check your assumption. Is 'chempy' actually a package, containing an 'Atom' module? Or is 'chempy' actually a module, containing an 'Atom' attribute? -- \ "I washed a sock. Then I put it in the dryer. When I took it | `\ out, it was gone." -- Steven Wright | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list