First script, please comment and advise

Scott David Daniels scott.daniels at acm.org
Thu Mar 9 19:21:13 EST 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