import issue with classes

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

I have a class FooB that derives from FooA

class FooB(FooA):

Can someone explain why

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

[ Rodrick R. Brown ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list