thanks so much for the code sample eryksun. its working perfectly now:) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/tutor/attachments/20130426/320907ce/attachment.html>