2 class with same name in different module

Leif K-Brooks eurleif at ecritters.biz
Wed Oct 5 03:52:15 EDT 2005


Iyer, Prasad C wrote:
> I have a class in a module which is getting imported in main module. 
> How do you differentiate between the 2 class

import foo
import bar

foo.TheClass().dostuff()
bar.TheClass().dostuff()



More information about the Python-list mailing list