This file contains 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
import gevent | |
from gevent import socket, queue | |
from gevent.ssl import wrap_socket | |
import logging | |
logger = logging.getLogger('irc') | |
logger.setLevel(logging.DEBUG) | |
ch = logging.StreamHandler() |
This file contains 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
USER = "your_twitter_user" | |
PASS = "your_twitter_pass" | |
if "your_twitter" in USER+PASS: | |
print "You didn't set your twitter username and password in the script!" | |
USER = raw_input("Username>") | |
PASS = raw_input("Password>") | |
import urllib2, json, base64, sys, os |