On 1/3/2012 11:13 PM, Terry Reedy wrote:
On 1/3/2012 10:06 PM, Andrew Berg wrote:
On 1/3/2012 8:50 PM, Rodrick Brown wrote:
Import FooA doesn't work and I need to use from FooA import FooA
instead? This puzzles me.
Thanks.
If you have a module called FooA with a class called FooA, then import
On Tue, Jan 3, 2012 at 9:50 PM, Rodrick Brown wrote:
> 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.
>
>
>
>
On 1/3/2012 10:06 PM, Andrew Berg wrote:
On 1/3/2012 8:50 PM, Rodrick Brown wrote:
Import FooA doesn't work and I need to use from FooA import FooA
instead? This puzzles me.
Thanks.
If you have a module called FooA with a class called FooA, then import
FooA imports the /module/. The class would
On 1/3/2012 8:50 PM, Rodrick Brown wrote:
> Import FooA doesn't work and I need to use from FooA import FooA
> instead? This puzzles me.
> Thanks.
If you have a module called FooA with a class called FooA, then import
FooA imports the /module/. The class would be FooA.FooA, just as the
variable x