Needs pythonizing of course but I like the flexibility.


-----