just a suggestion: http://docs.python.org/2/library/tempfile.html :+1: