Embedding Python in a Cocoa Application

November 4th, 2008 · 4 Comments · Tutorials

I stumbled upon Ragestorm.net‘s great tutorial on Python embedding when I was trying to embed Python in a Cocoa application and redirect standard output / standard error to an NSTextView. Ragestorm’s tutorial is not particularly about Cocoa / Objective-C, but does though solve the problem. Stdout / stderr is simply redirected using a fragment of […]

[Read more →]

Tags:····

Creating XCode Projects for SWIG Python-bindings

October 24th, 2008 · 9 Comments · Tutorials

SWIG makes the creation of bindings for C/C++ libraries easy for various high-level exits (Java, Perl, PHP, Python, etc.). However, in the case of Python on OS X, when the actual SWIG wrapper is finished the difficulties begin: one needs to create an adequate dynamic library for the Python runtime — and like with everything […]

[Read more →]

Tags:····

openFrameworks vs. Python

October 22nd, 2008 · 1 Comment · Creative Coding

If you know Processing you may have heard of openFrameworks. openFrameworks is a library for »creative coding« with regard to simplicity, performance and platform-independence. It is available in C++ featuring pre-compiled binaries and IDE projects for the major platforms (Mac OS X, Linux and Windows). However, during the work on my master’s thesis I have […]

[Read more →]

Tags:····

© 2013 Tobis Lensing. All rights reserved. Powered by Wordpress — based upon Cutline by Chris Pearson. This page reflects the personal opinion of the author and is in no way linked to institutions the author is working or has worked for. For more information, see the disclaimer and Privacy Policy.