Is it allowed to use function results as default arguments ?

Grant Edwards grante at visi.com
Tue Jul 29 11:46:14 EDT 2008


On 2008-07-29, Stef Mientki <stef.mientki at gmail.com> wrote:

> brings me to one other question:
>   I guess this function is only evaluated once, is that correct ?

Yes.

> about '.' being the current directory, well I think windows
> was thrown at the market about 25 years ago, and since then we
> don't use '.' anymore ;-)

Who's "we"?  I stull use "." as the current directory.

-- 
Grant Edwards                   grante             Yow! Mary Tyler Moore's
                                  at               SEVENTH HUSBAND is wearing
                               visi.com            my DACRON TANK TOP in a
                                                   cheap hotel in HONOLULU!



More information about the Python-list mailing list