Steve D'Aprano wrote:

> On Tue, 29 Aug 2017 07:09 am, Peter Otten wrote:
> 
>> The lesson is that if you use a (sub)module you should never rely on an
>> implicit import.
> 
> ... unless the module is documented as automatically importing the
> submodule. An example is os.path.

os.path is the only exception that I know of, and it's used so often that it 
may teach you bad habits.

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to