Function definition

aarondesk aarondesk at
Tue Jun 20 01:05:38 CEST 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?


More information about the Python-list mailing list