reformulé download as python