Dynamically Generated dialog.select
#1
Hello,

My problem is as follows:
I have a generated file list that catches every file inside a directory, and I want to make those files as options for the user to select.
Here is some code:
Code:
        fileList = []
        for root,subFolders,files in os.walk(PLAYLIST_LIB):
            for file in files:
                fileList.append(file)

So I now have a fileList that has an unknown size, and I want to make every file found, an option for the user to choose from:

Code:
return = dialog.select("Files found:",what goes here?)

I have tried and failed a couple of alternatives, so I decided to try to get some help.
Hope someone knows a way Tongue

Thanks!
Reply
#2
Omg Im so dumb, never mind, figured it out
Reply

Logout Mark Read Team Forum Stats Members Help
Dynamically Generated dialog.select0