HomepageTeaching PageResearch PageResources Page

Getting pydoc to work on Windows

Tutorial written by Matt Ferland.

Making it so you can use the pydoc command in the Windows command line can be quite a tricky process. Here is how you can get it working:

  1. First, you need to find the location of the Pydoc script in windows. For reference, mine was "C:\Program Files (x86)\Python36-32\Lib" Installing into the programming files folders is not recommended as it can cause issues with Windows UAC, though if you have it disabled, you should be fine.
  2. Next, open up control panel. No matter what version of Windows you are using, you can get to it by pressing "WindowsKey + R" and then typing "control panel".
  3. Click on "System and Security," "System," "Advanced System Settings," and finally "Environmental Variables".
  4. Now click on the Path line and click "edit".
  5. Click "new" and put in the directory you found in step 1.
  6. Click "OK" and exit all of the windows that were opened. If you open up a new command prompt, it should now work.

Here are some possible problems you may encounter: