Thanks, it works. And thanks for your comments which are worth to think about :) Petr
> This has nothing to do with your previous problem. Use > > from __main__ import myFunction, myOtherFunction, ... > > or > > from __main__ import * > > if you prefer "namespace pollution paradise"*. > > Again, it would be better to move the doctest.testfile() call into a > separate script. > > Peter > > (*) which I'm tempted to write "namespace 'pollution' paradise" or > "namespace pollution 'paradise'", but don't, for fear of "quoting hell". -- http://mail.python.org/mailman/listinfo/python-list