An analysis of Twitter data using Python