The difference between "import package.module" and "from package import module"(about pymol)

Xiao Jianfeng fdu.xiaojf at
Fri Dec 16 05:54:49 CET 2005


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 ?


More information about the Python-list mailing list