I start the following .py which create socket and wait for a connection:
def get_tweets(): url = \'https://stream.twitter.com/1.1/statuses/filter.json\'