Skip to content

Instantly share code, notes, and snippets.

@catupper
catupper / sudden_death.py
Created October 7, 2012 12:20 — forked from hiromu/sudden_death.py
Test for using Twitter Streaming API
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import tweepy
import json
import pymongo
db_host = 'localhost'
db_port = 27017
##Q.1
print "trats"[::-1]
##Q.2
print 8 not in range(7,8)
##Q.3
print 0.0 is 0
##Q.4