1 post tagged shortcuts. Clear filter
Mar 2017 · 1 min read
Here is how to get the string representation of a method in Python def mymethodname(): print "Hello World" mymethodname.name = 'mymethodname' Short and sweet!