Python based Text mining program