automatic from module import * expansion

2006-03-13 Thread 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,

Re: automatic from module import * expansion

2006-03-13 Thread Diez B. Roggisch
Keith Jackson wrote: 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

Re: automatic from module import * expansion

2006-03-13 Thread astyonax
Sorry but I doesn't understand your need. If you need a ''dinamic'' import, you can use __import__(module) -- http://mail.python.org/mailman/listinfo/python-list