Tweet analysis using python