Scenario:
I have 2 scripts. One is an ftp program that takes a list of files and downloads them.
The other is a simple program that takes one file and copies it to another directory.
What I want to do:
When the ftp program finishes with one file, I want to run the copy program for that file, but I want the ftp program to move on to the next file while the copy runs.
So this would accomplish the same thing, but not be as effective for what I need to do:
for file in filelist:
[INDENT]download(file)
execfile(copy.py,file)[/INDENT]