Dennis> So far as I understand, the Dennis> global Dennis> is not needed for your example. I think the original context was that optparse was being used in the context of a function. Skip