return statement in functions
Irmen de Jong
irmen at -NOSPAM-REMOVETHIS-xs4all.nl
Tue Dec 23 10:50:01 EST 2003
hokieghal99 wrote:
> Here's how I call the report function:
>
> report(fs_object_count,clean_dir_names,etc., etc.)
>
You're forgetting to actually *call* the other functions too,
(you just pass the functions themselves, as you see in your output,
Python prints the function objects that you pass to the report
function).
So try this:
report(fs_object_count(),clean_dir_names(),...)
these you forgot: ^^ ^^
--Irmen
More information about the Python-list
mailing list