First script, please comment and advise

Scott David Daniels scott.daniels at acm.org
Fri Mar 10 01:21:13 CET 2006


bearophileHUGS at lycos.com wrote:
>> nested and hided inside a class.
> 
> Hidden, sorry :-)
> 
> 
>> Can a "sub-function" be called directly from outside the defining function?
No, and each call to scramble_text defines a new function "scramble".
Further, there is no way to unit test "scramble".

--Scott David Daniels
scott.daniels at acm.org



More information about the Python-list mailing list