I suspect you open and write a file or something. Open the file handle outside frameeval and pass it as an argument to the function or something. See the functools.partial example in the documentation.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
|