automatic from module import * expansion
Keith Jackson
krjacks1 at netscape.net
Mon Mar 13 02:23:14 EST 2006
Does anybody know of a tool that will take a module as input, look for
any wildcard imports, and then identify what symbols in the module come
from which wildcard import? It could then expand out the from module
import * to from module import foo, bar. It might need to ask the user
on this, since they might want the wildcard import for something
special, but it would still be *much* nicer then expanding the imports
out by hand.
Apologies ahead of time if I've missed something obvious. I did spend
some quality time with google, and couldn't find anything.
cheers,
--keith
More information about the Python-list
mailing list