Skip to content

Instantly share code, notes, and snippets.

@contradirony
contradirony / tweet_schedule.py
Last active March 26, 2017 21:38 — forked from Moving-Electrons/tweet_schedule.py
This script reads pre-formatted tweets from a text file and posts them at defined intervals. It uses the Twython library (wrapper for Twitter API). More information at www.movingelectrons.net
#!/usr/local/bin/python2.7
import datetime
import time
import re
import os
from twython import Twython
import sys
import traceback
import httplib, urllib #used in the Pushover code