Message210178
+1 for the OP's original idea (something like a dir_modules() function that lists out all possible imports).
I think something like this must already be present in some of the Python front-ends such as ipython and bpython. That is how they support tab-completion for imports:
In [1]: import co
code codeop colorsys compileall contextlib copy
codecs collections commands compiler cookielib copy_reg
In [1]: import re
re readline repr requests resource reverend rexec |
|
Date |
User |
Action |
Args |
2014-02-04 06:06:36 | rhettinger | set | recipients:
+ rhettinger, brett.cannon, pitrou, benjamin.peterson, arupchakrav |
2014-02-04 06:06:36 | rhettinger | set | messageid: <1391493996.55.0.215370346266.issue20506@psf.upfronthosting.co.za> |
2014-02-04 06:06:36 | rhettinger | link | issue20506 messages |
2014-02-04 06:06:35 | rhettinger | create | |
|