Tag: Python
-
Wrapping C APIs in Python
When working in Python, there are times when you have cpu-bound processing and need real threads. This is usually when I reach for C. The interop between the languages is clean, minimal, and fast. I’ll give a quick example. First, the basic problem. How do you compose a C lib into your Python application? Fortunately,…
-
Dev flow with integrated SublimeREPL
Here is a short screencast that I made to demonstrate what I believe are some of the more useful features and techniques of working in Sublime Text 2 and the python repl. Specifically, I wanted to show others who might need the dots connected to understand just what the intended usage flow of SublimeRepl is. The…