On 7 Oct 2005 16:17:22 -0700, "mike" <[EMAIL PROTECTED]> wrote:
> Thanks Mike. Would there be an idiom using "is"? > somethng like > glob.glob('2005*) is not Empty > I have not figured out what to put on the right hand > side of "is" Don't put anything there: if glob.glob('2005*'): print 'there is at least one matching file' else: print 'there are no matching files' Regards, Dan -- Dan Sommers <http://www.tombstonezero.net/dan/> -- http://mail.python.org/mailman/listinfo/python-list