Update pw.py

shorten'D