> No, it doesn't. Instead of guessing what the cause might be, please show
> us your code and show us the error message you're getting, so that we can 
> determine what the cause really is.

Ok, sorry. Heres my code:

import glob
import random
import os

songs = glob.glob('C:\###\###\###\*.mp3')
pick = random.choice(songs)
os.system(pick)

And yes, I know there are better ways of randomly selecting
a .mp3 file to play but I don't care. 



-- Posted on news://freenews.netfront.net - Complaints to [EMAIL PROTECTED] --
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to