cs 360 Download accelerator in python