#python data extraction