def start(): """To start the programm. :param None: No parameter asked :type None: None type :returns: None """ api = twitterOauth.getApi() twitterAccount = raw_input("Please give the account of twitter (screenname) ") getalltweets.getAllTweets(api, twitterAccount) inputData = twitterAccount result = computation.computeAll("data/"+ inputData + ".db") makePicture.makeAllPicture(result) return result
# -*- coding: utf-8 -*- """ Created on Wed Nov 6 21:33:55 2013 @author: yuankunluo """ import twitterOauth import getalltweets import tweepy api = twitterOauth.getApi() #nytimes = getalltweets.getAllTweets(api, 'nytimes') #getalltweets.getAllTweets(api, 'ZDNet') #kwelle = getalltweets.getAllTweets(api, 'kwelle')