Here are my examples of calling Nim from Python. Using ctypes:
[https://github.com/octonion/puzzles/tree/master/blackjack/python-nim](https://github.com/octonion/puzzles/tree/master/blackjack/python-nim) Using cffi: [https://github.com/octonion/puzzles/tree/master/blackjack/python-nim-cffi](https://github.com/octonion/puzzles/tree/master/blackjack/python-nim-cffi) Weirdly, calling Nim from Python 2.7 is faster than the entire program in Nim.
