Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on Monkey Patching in Python

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

A MonkeyPatch is a piece of Python code which extends or modifies other code at runtime (typically at startup).

A monkey patch is a way for a program to extend or modify supporting system software locally (affecting only the running instance of the program).

https://stackoverflow.com/questions/5626193/what-is-monkey-patching

https://www.youtube.com/watch?v=Adr_QuDZxuM&feature=youtu.be

https://en.wikipedia.org/wiki/Monkey_patch

Comments