polish clipboard.py