[Python-ideas] parameter omit

Josiah Carlson jcarlson at uci.edu
Fri May 11 08:46:27 CEST 2007


"Aaron Brady" <castironpi at comcast.net> wrote:
> What is the default parameter for the function?  Problem is, the docs don't
> say what it is.  Does it pick its own filename to use for empty inputs?

    >>> import urllib
    >>> help(urllib.urlretrieve)
    Help on function urlretrieve in module urllib:

    urlretrieve(url, filename=None, reporthook=None, data=None)

    >>>


 - Josiah




More information about the Python-ideas mailing list