Skip to content

Instantly share code, notes, and snippets.

@timsutton
timsutton / record_screencap.py
Created March 16, 2016 18:48
Screen recording with Python and AVFoundation
#!/usr/bin/python
# pylint: disable-msg=e1101,e0611
import time
import AVFoundation as AVF
import Quartz
from Foundation import NSObject, NSURL
def main():