import issue with classes

Rodrick Brown rodrick.brown at gmail.com
Tue Jan 3 21:50:24 EST 2012


I have a class FooB that derives from FooA

i.e.
class FooB(FooA):
  FooA.__init__(self,...)

Can someone explain why

Import FooA doesn't work and I need to use from FooA import FooA instead?
This puzzles me.
Thanks.



-- 
[ Rodrick R. Brown ]
http://www.linkedin.com/in/rodrickbrown
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120103/3cd8ac6d/attachment.html>


More information about the Python-list mailing list