Function definition

aarondesk aarondesk at yahoo.com
Mon Jun 19 19:05:38 EDT 2006


I have a little .py file that has the format:


def fxn(a):
    do stuff

other stuff
...
r = fxn(a)
....


Now I've tried putting the function declaration after the call but the
program wouldn't work. Is there anyway to put function declarations at
the end of the program, rather than putting them at the beginning,
which is rather clunky?

Thanks.
Aaron




More information about the Python-list mailing list