[Python-Dev] Pydoc Replacement for Python's help()?

Cyd Haselton chaselton at gmail.com
Tue Jan 27 13:17:31 CET 2015


On Mon, Jan 26, 2015 at 2:25 PM, Zachary Ware
<zachary.ware+pydev at gmail.com> wrote:
> On Mon, Jan 26, 2015 at 12:49 PM, Cyd Haselton <chaselton at gmail.com> wrote:
>> Hello,
>> I've finally managed to build a (somewhat) working Python port for the
>> Android tablet I'm using.  Unfortunately, as I quickly found out,
>> Python's built-in help function requires tkinter, which requires
>> tcl/tk.
>
> What version of Python are you building, and how did you call help
> that it seems to want to use tkinter?  The pydoc GUI was removed from
> the 3.x series long ago, and should only be activated in 2.7 if you
> call it as 'pydoc -g ...' from the command line (or use pydoc.gui()
> directly).
>
> --
> Zach

I'm using version 2.7.8. I'm calling help() from within the python interpreter.


More information about the Python-Dev mailing list