from package import * without overwriting similarly named functions?

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Fri Oct 24 16:39:05 EDT 2008


In message
<80503fdf-7792-4571-825c-27e0c5a59cb5 at u29g2000pro.googlegroups.com>,
Reckoner wrote:

> I have multiple packages that have many of the same function names. Is
> it possible to do
> 
> from package1 import *
> from package2 import *
> 
> without overwriting similarly named objects from package1 with
> material in package2?

Avoid wildcard imports.




More information about the Python-list mailing list