[Tutor] 'pydoc' is not recognized as an internal or external command, ...

2010-11-12 Thread R Johnson
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

Re: [Tutor] 'pydoc' is not recognized as an internal or external command, ...

2010-11-12 Thread David Hutto
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 about

Re: [Tutor] 'pydoc' is not recognized as an internal or external command, ...

2010-11-12 Thread Steven D'Aprano
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

Re: [Tutor] 'pydoc' is not recognized as an internal or external command, ...

2010-11-12 Thread Jerry Hill
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

Re: [Tutor] 'pydoc' is not recognized as an internal or external command, ...

2010-11-12 Thread R Johnson
Thank you to all who have responded. I have a bit of an update that reflects some of these suggestions. I was able to snag some time from one of the more experienced engineers and here is what we found: On my system (Windows 7) the path to the lib file is C:\Python26\lib and pydoc.py is in