Download Using SQL with Python