I have no py27 so the command py27 chirpw fails.
So it appears that I still have python2 installed and the heading in chirpw is correct.
I make a symbolic link from python2 to py27 so I can use a command like you suggest.
# ln -s /usr/bin/python2 /usr/bin/py27
# ls /usr/bin/py27 -l
lrwxrwxrwx 1 root root 16 Jun 25 13:47 /usr/bin/py27 -> /usr/bin/python2
# py27 chirpw
Traceback (most recent call last):
File "chirpw", line 25, in <module>
import gtk
ImportError: No module named gtk
Finding pygtk:
# locate pygtk
/usr/bin/pygtk-codegen-2.0
/usr/bin/pygtk-demo
/usr/include/pygtk-2.0
/usr/include/pygtk-2.0/pyglib.h
/usr/include/pygtk-2.0/pygobject.h
/usr/include/pygtk-2.0/pygtk
/usr/include/pygtk-2.0/pygtk/pygtk.h
/usr/lib/pygtk