On Wed, 2006-06-14 at 07:27 -0500, chris clepper wrote:
Is there a way to get a random file of a certain type (like .mov) from a specific directory using your objects?
would this python one-liner be an option for you?
import random, glob
def choose(path): return random.choice(glob.glob(path+"/*.mov"))
t
-- tim@klingt.org ICQ: 96771783 http://www.mokabar.tk
Life is really simple, but we insist on making it complicated. Confucius