Update dpy.py

Added comments