Copy the code I posted into a file called record.py. Then run: Code: chmod 755 record.py; ./record.py
chmod 755 record.py; ./record.py