Re: 'as' keyword - when/how to use it

2010-07-24 Thread Dummey
On Jul 24, 3:44 am, Steven D'Aprano wrote: > On Fri, 23 Jul 2010 23:33:55 -0700, Dummey wrote: > > I am having the hardest time trying to find documentation on proper use > > of the 'as' keyword (aside from . I initially thought that I would be > > allowed to do something such as: > > > import sha

Re: 'as' keyword - when/how to use it

2010-07-24 Thread Steven D'Aprano
On Fri, 23 Jul 2010 23:33:55 -0700, Dummey wrote: > I am having the hardest time trying to find documentation on proper use > of the 'as' keyword (aside from . I initially thought that I would be > allowed to do something such as: > > import shared.util as util > > The as statement seems to be c

Re: 'as' keyword - when/how to use it

2010-07-24 Thread Terry Reedy
On 7/24/2010 2:33 AM, Dummey wrote: I am having the hardest time trying to find documentation on proper use of the 'as' keyword (aside from . I initially thought that I would be allowed to do something such as: import shared.util as util The as statement seems to be causing a lot of ''module' o

'as' keyword - when/how to use it

2010-07-23 Thread Dummey
I am having the hardest time trying to find documentation on proper use of the 'as' keyword (aside from . I initially thought that I would be allowed to do something such as: import shared.util as util The as statement seems to be causing a lot of ''module' object has no attribute'. Is it safe to