That seems like a very strange thing to do in this situation. The only time to pickle something is if you need to represent a non-string object on disk, but Python code is strings. I presume that the ...