K
Keith Jackson
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
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