Accessing the Twitter API using Python