Installing P4Python
You can download P4Python from the Perforce web site:
http://www.perforce.com/product/components/apis
After downloading, you can either run the installer or build the interface from source, as described in the release notes packaged with P4Python.