[Python-3000] Minor addition to Python interactive shell...
Benjamin Peterson
musiccomposition at gmail.com
Sat Aug 23 23:06:28 CEST 2008
On Sat, Aug 23, 2008 at 4:03 PM, Abdallah El Guindy
<abdallah.elguindy at gmail.com> wrote:
> Hey all
>
> I know that the feature I am about to suggest may be minor and may have a
> very low priority considering other issues to be discussed, however I'll
> suggest it anyways..
>
> Being a very frequent user of the interactive shell, I find it annoying when
> I try to use a function or a class that resides in another module that I
> haven't imported... So why not let the interactive shell say a message about
> the appropriate module to be imported for this class/function.. The idea is
> similar to bash on Ubuntu, if you don't have the necessary package it lets
> you know by suggesting the package name to be installed.
How would that be implemented? At the least, every module and package
on sys.path would have to be scanned.
>
> Let me know what you think.
>
> Thank you.
>
> _______________________________________________
> Python-3000 mailing list
> Python-3000 at python.org
> http://mail.python.org/mailman/listinfo/python-3000
> Unsubscribe:
> http://mail.python.org/mailman/options/python-3000/musiccomposition%40gmail.com
>
>
--
Cheers,
Benjamin Peterson
"There's no place like 127.0.0.1."
More information about the Python-3000
mailing list