> nested and hided inside a class. Hidden, sorry :-)
>Can a "sub-function" be called directly from outside the defining function? I don't think you can access a nested function in a clean&nice way (and you can nest classes too, etc). With a little of Python magic maybe there is a way to do it... But for such purposes probably a module (or maybe a class with a static method) is better. Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list