On Jul 23, 10:26 pm, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > random.choice(filter(os.path.isfile, glob.glob("/*"))) > > isn't that bad, though.
I'll agree to that. -- http://mail.python.org/mailman/listinfo/python-list
On Jul 23, 10:26 pm, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > random.choice(filter(os.path.isfile, glob.glob("/*"))) > > isn't that bad, though.
I'll agree to that. -- http://mail.python.org/mailman/listinfo/python-list