Best way to pickle functions

Aaron Scott aaron.hildebrandt at gmail.com
Fri Apr 3 14:04:19 EDT 2009


Never mind. Solved the problem by putting the functions in a class and
dumping that into a string. Then, when I need it, I executed the
string to get myself the class, then created an instance of that class
which gave me access to those functions along with the correct scope.
Probably not the smartest solution, but it works for now.



More information about the Python-list mailing list