Update pw.py

shorten'D
Merge pull request #1 from seanjohnson08/patch-1

Update pw.py