es Python26 was in the PATH.
From: Steven D'Aprano
To: tutor@python.org
Sent: Fri, November 12, 2010 5:44:41 PM
Subject: Re: [Tutor] 'pydoc' is not recognized as an internal or external
command, ...
R Johnson wrote:
> 'pydoc' is
On Fri, Nov 12, 2010 at 6:44 PM, Steven D'Aprano wrote:
> Use the Find File command, and see if you can find something called "pydoc".
> You may need to call the full path to the program, e.g.:
>
> C:\My Documents\path\to\program\pydoc raw_input
On my windows PC, it's c:\Python31\Lib\pydoc.py
So
R Johnson wrote:
'pydoc' is not recognized as an internal or external command, operable program
or batch file.
This means that the program "pydoc" is not installed on your computer,
or is installed somewhere where the operating system (I'm guessing
you're using Windows?) can't find it.
Use
For what you're looking for you could use:
>>>help(raw_input)
In the python terminal,meaning type python first.
For pydoc on ubuntu in the command line,
pydoc -p 1234
and then take your
browser to http://localhost:1234, you might need
to select the work offline mode.
On windows IIRC it's abou
Hello All,
I'm currently attempting to work my way through Zed Shaw's "Learn Python the
Hard Way" (suggested by co-workers) and have come across an instruction to:
1. In Terminal where you normally run python to run your scripts, type: pydoc
raw_input. Read what it
says.
So in a terminal, at the