I would like to know how to use a list contain with file names returned from a function to search a directory based on that list then copy the matching files to another directory. Following is what I would like to accomplish in logical order.
1. Existing Function getPromptList() return PromptList which contain a list of files.
2. Create a Function copyLiveToPrompt which taking the PromptList against the Source Directory and find files match the PromptList then copy them to the Destination Directory.
New to Python and will post some code. Please help... Thanks.