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:
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:
I have tried and failed a couple of alternatives, so I decided to try to get some help.
Hope someone knows a way
Thanks!
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
Thanks!