Function definition

bruno at modulix onurb at xiludom.gro
Tue Jun 20 04:25:56 EDT 2006


faulkner wrote:
(pelase don't top-post - fixed)
> aarondesk wrote:
> 
(snip)
>>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?

> no.
> python is not C. python is interpreted, not compiled,

Please verify your assertions... FWIW, being "compiled" or "interpreted"
is not a feature of a language, but of an implementation of a language.
And FWIW also, CPython *is* compiled (to byte-code, like Java).



-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"



More information about the Python-list mailing list