Improved on the Download function of Python