Update apt.py: Python golf!