How to download a file with cgi/python? -


i have working cgi/python. want ask question below:

how download file cgi/python?

i want when page loading file specified in url downloaded.

i have googled in many days can't until resolve problem.

anyone me, many thanks.

import urllib urllib.urlretrieve(url, filename) 

Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -