title: How to get pydoc command working in Windows 7 cmd?
body: <p>I'm learning to program Python from the "Learning Python the Hard Way". On one of the chapters it tells me to use pydoc command. The windows 7 cmd failed miserably with that command. </p>
  
  <p>When I typed in <code>pydoc raw_input()</code> on cmd following error codes were generated:</p>
  
  <pre><code>'pydoc' is not recognized as internal or external command,
  operable program or batch file.
  </code></pre>
  
  <p>I've looked back previous two questions on same issue:</p>
  
  <ol>
  <li><a href="https://stackoverflow.com/questions/3391998/pydoc-is-not-working-windows-xp">Pydoc is not working (Windows XP)</a></li>
  <li><a href="https://stackoverflow.com/questions/3689350/how-to-get-pydoc-command-working-in-windows">How to get pydoc command working in Windows?</a></li>
  </ol>
  
  <p>So far I have created a pydoc.bat with following line</p>
  
  <pre><code>@python c:\Python26\lib\pydoc.py %*
  </code></pre>
  
  <p>and saved it in <code>C:\python27\Tools\Scripts</code>. </p>
  
  <p>I've also tried to change the PATH to <code>C:\python27\Lib</code>. I called the two variables python and pydoc because I'm not really sure I set the PATH correctly. </p>
  
  <p>It's still not working. </p>
  
  <p>What did I do wrong?</p>