Many Blender Python scripts are prepared in a special way, which allows them to appear in the Blender menus or panels. They are called add-ons. Usually such scripts are prepared for the wider audience. Blender comes with a wide range of registered add-ons, ready to activate. You can still add to it your personal set of useful tools.
It is very easy to incorporate them into your environment. Just:

  1. download a particular add-on from any Internet source. Usually, it is a single Python (*.py) file, sometimes packed (into *.zip file);
  2. unpack it, when it is a *.zip file;
  3. place the *.py file in the scripts\addons folder, located in the Blender configuration directory;

The Blender configuration directory is stored in the user home directory. You can find it:

  • on Windows 7: C:\Users\%username%\AppData\Roaming\Blender Foundation\Blender\2.5x;
  • on Windows XP: C:\Documents and Settings\%username%\Application Data\Blender Foundation\Blender\2.5x;
  • For example, for Blender 2.58, installed on Windows XP, user named Me, the folder where you should place the add-on file is:
    C:\Documents and Settings\Me\Application Data\Blender Foundation\Blender\2.58\scripts\addons

    Initially, the scripts\addons directory does not exist. You can create it there.

    Installing an add-on using Blender commands

    If you cannot find your user configuration directories, you can still do the same using Blender commands. It may happen that in the future the structure of Blender configuration folders will change. Thus this is the easier and safer way:

    Open the Blender User Preferences Window (File->User Preferences, or [Ctrl]-[Alt]-[U]). Select the Add-Ons tab there (Fig. 1):
    Fig. 1. The list of currently registered add-ons.

    Click the Install Add-On… button, located on the “header”, at the bottom of the window. It will open the file selection area (Fig 2):
    Fig. 2. Selection of the add-on file.

    Select the *.py file of the add-on. (You can select only one file, here). Then press the Install Add-On… button. It will bring you back to the Add-Ons tab (Fig. 3)
    Fig. 3. New add-on just after registration.

    Notes on Blender upgrades

    Each Blender version creates its own user configuration subdirectory. Just look at the Blender Foundation\Blender folder (Fig. 4):
    Fig. 4. Exemplary content of user configuration folder.

    Fortunately, you do not have to copy the scripts\addons folder manually, after each upgrade. On the first run of new Blender version, it displays an important button on its splash screen (Fig. 5):
    Fig. 5. Splash screen on the first run of new Blender version.

    Use Copy Previous Settings command to preserve your settings (drawing defaults, add-ons) from the previous Blender version. Blender displays it, when it has found that its configuration directory does not exists, yet.