<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Thank you to all who have responded.<br>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:<br><br>On my system (Windows 7) the path to the lib file is C:\Python26\lib and "pydoc.py" is in this folder. So, he had me run: <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; python -m pydoc raw_input <br>at that prompt. Sure enough, this returned what looked like help information for raw_input.<br><br>And, when we he had me follow the trail: Start &gt; Control Panel &gt; System &gt; Advanced Settings &gt; Environment Variables Python26 was in the PATH.<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><br><div style="font-family: arial,helvetica,sans-serif;
 font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Steven D'Aprano &lt;steve@pearwood.info&gt;<br><b><span style="font-weight: bold;">To:</span></b> tutor@python.org<br><b><span style="font-weight: bold;">Sent:</span></b> Fri, November 12, 2010 5:44:41 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Tutor] 'pydoc' is not recognized as an internal or external command, ...<br></font><br>
R Johnson wrote:<br>&gt; 'pydoc' is not recognized as an internal or external command, operable program or batch file.<br><br>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.<br><br>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.:<br><br>C:\My Documents\path\to\program\pydoc raw_input<br><br>or you may need to install it :)<br><br>&gt; So, I go back to the terminal and type: python<br>&gt; Then I type: pydoc raw_input<br>&gt; The computer spits back: File "&lt;stdin&gt;", line1<br>&gt;&nbsp;  pydoc raw_input<br>&gt; SyntaxError: invalid syntax<br>&gt; (There is a carrot symbol under the "t" of input.)<br><br>pydoc is an external tool made with Python, it is not a Python command you can run. However, Python does come with an internal tool that is
 nearly as powerful: help().<br><br>From the Python prompt, type:<br><br>help(raw_input)<br><br>and Enter, and you will get something very close to what pydoc would have given you.<br><br><br><br>-- Steven<br>_______________________________________________<br>Tutor maillist&nbsp; -&nbsp; <a ymailto="mailto:Tutor@python.org" href="mailto:Tutor@python.org">Tutor@python.org</a><br>To unsubscribe or change subscription options:<br><span><a target="_blank" href="http://mail.python.org/mailman/listinfo/tutor">http://mail.python.org/mailman/listinfo/tutor</a></span><br></div></div>
</div><br>

      </body></html>