python scripts used in tweet analysis