Import Module

Harikrishnan R hari2981 at gmail.com
Wed May 19 12:40:01 EDT 2010


Hi ,
    I have a file a.py contains

    from one.two import abc
--------------------------------------------
    is there any way to find out  "one.two" the import Path of abc. ?
I don't want one.two.abc . Any function or attribute which directly
give one.two ?

-Regards

-- 
Harikrishan R
http://harikrishnanr.wordpress.com/



More information about the Python-list mailing list