>>How would you do this?
> 
>     def line_action(line, match_dictionary):
>         global count # make it a module-global variable, not a function-local
>         count = count + 1
> 
> </F>

OK, I had put it on the global block.

Thanks,
Ernesto
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to