import oauth, tweepy, sys, locale, threading 
from time import localtime, strftime, sleep

def init(): 
    global api
    consumer_key = "xxxxxxxxxxxxxx"  # your access key
    consumer_secret = "xxxxxxxxxxxxxxxxx"
    access_key = "xxxxxxxxxxxxxxxxxxx"
    access_secret = "xxxxxxxxxxxxxxxxxxx"
    auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
    auth.set_access_token(access_key, access_secret)
    api = tweepy.API(auth)

    user = api.get_user(3318190836)
    print "User: " + user.screen_name
    print "Followers: " + str(user.followers_count)
    print "Friends: " + str(user.friends_count)
    print "Favorites: " + str(user.favourites_count)
    #print api.direct_messages()
init()