darren kirby <[EMAIL PROTECTED]> writes: > If all you want is filenames this will work: >>>> import glob >>>> files = ["%s" % f for f in glob.glob("*")]
What's the point of doing "%s" % f? How is this different from just file = [f for f in glob.glob("*")]? <mike -- Mike Meyer <[EMAIL PROTECTED]> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list