consumer_twitterStream.py
def remove_users(self, tweet):
        '''Takes a string and removes retweet and @user information'''
        tweet = re.sub('(RT\s@[A-Za-z]+[A-Za-z0-9-_]+)', '', tweet) # remove retweet
        tweet = re.sub('(@[A-Za-z]+[A-Za-z0-9-_]+)', '', tweet) # remove tweeted at
        return tweet
Takes a string and removes retweet and @user information
Takes a string and removes retweet and @user information
Takes a string and removes retweet and @user information
def remove_users(self, tweet):
        tweet = re.sub('(RT\s@[A-Za-z]+[A-Za-z0-9-_]+)', '', tweet) 
        tweet = re.sub('(@[A-Za-z]+[A-Za-z0-9-_]+)', '', tweet) 
        return tweet
def remove_users ( self , tweet ) : tweet = re . sub ( '(RT\s@[A-Za-z]+[A-Za-z0-9-_]+)' , '' , tweet ) tweet = re . sub ( '(@[A-Za-z]+[A-Za-z0-9-_]+)' , '' , tweet ) return tweet
Takes a string and removes retweet and @user information
Takes a string and removes retweet and @user information
'''Takes a string and removes retweet and @user information''' # remove retweet
 # remove tweeted at

self
tweet