Would it be possible to overload '>' as an operator on two strings. This would be nice as it would allow for custom results while debugging. In my case, I could also edit the source code and add prints, etc., but the Monkey Patch is quicker and available without a rebuild.
The desired result would be that typing (for example):
>>>import os
>>>"string1" > "string2"
would call some custom code that I've created. Other options might be to use decorators, or some of the solutions here: