On Fri, Nov 12, 2010 at 6:44 PM, Steven D'Aprano <st...@pearwood.info> 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, to do what the tutorial is suggesting, you would need to open a
command prompt (cmd.exe) and run:
c:\Python31\Lib\pydoc.py raw_input

Note: Since I have python 3.1 installed, that wouldn't actually work,
because python 3.1 no longer has a raw_input function -- it's been
renamed to just input.

If you want to be able to run pydoc.py without specifying the full
path every time, I could add C:\Python31\Lib to my PATH environment
variable.

-- 
Jerry
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to