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
Post a Comment