11 Dec
Posted by Nathaniel McCallum as Technology
I’m pleased to announce that I’ve released Natus v0.1.3, which can be downloaded here. 0.1.3 is largely an API cleanup and new module release, with a few new APIs to boot. Here are the most visible changes: POSIX Module There is now a posix module which wraps a good number of POSIX APIs. Here is an [...]
In yesterday’s post, I gave an example of how to use JavaScript from within Python. This is an important feature enabling Python programmers to setup JavaScript environments and execute JavaScript in them. But as I mentioned in my release announcement post, Natus’ Python bindings are bi-directional. This means we can also access Python from JavaScript! Note that not only [...]
This is just a quick demo on how to use JavaScript from Python using Natus. The basic idea here is that you create your engine and global and then you export python objects into the Natus global environment. Once you do this, you are able to call back into Python from JavaScript. $ python Python [...]