Juho Schultz: Thanks for that, havent got time to modify it for my needs at the moment, but im sure it'll work as i've just tried it
Jeremy Sanders: Cheers for that, i'll check it out. thanks to everyone else to! Thanks David -- http://mail.python.org/mailman/listinfo/python-list