This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Run this on a timer as a cronjob or Lambda function or whatever works for you. | |
| # I just run it as a cronjob and set the environment variables directly in the crontab. | |
| import cv2 | |
| import os | |
| from random import randint | |
| import twitter | |
| videos_directory = os.environ['VIDEOS_DIR'] |