On Jul 23, 10:26 pm, Fredrik Lundh <fred... at pythonware.com> wrote: > random.choice(filter(os.path.isfile, glob.glob("/*"))) > > isn't that bad, though. I'll agree to that.