Python uses a Global Interpreter Lock (GIL) to prevent memory leaks. However, this makes python single threaded. In this post I will show you how to release the GIL and call python code from another language. In this way you can make use of the full power of a compiled language while still harnessing the availability of the rich ecosystem of python libraries – while taking a minor pefromance hit.