def __exit__(self, *args):
Thanks guys. This is the solution I implemented and it works great. Mark :)
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor