An even better way would be to use the optparse module. -- Daniel Bickett dbickett at gmail.com <http://gmail.com> http://heureusement.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-list/attachments/20050520/51bd5230/attachment.html>