Create capture.py