Capture.py file for PeepingTom