How you can write a user defined function in python? code example
Example: reveal a defined function in python
import inspect as i
import sys
sys.stdout.write(i.getsource(MyFunction))
import inspect as i
import sys
sys.stdout.write(i.getsource(MyFunction))