Report question

Question: Is there an easy way to pickle a python function (or otherwise serialize its code)?