Python Wrapper
Python Wrapper
Has anyone Had any success creating a wrapper for python since 1.3 all the python projects are dead it seems and I really need a wrapper for python I would like to use the newer features in 1.5 but I cannot seem to have any luck getting anything to work =( any one have any suggestions or know where I can find a wrapper I've tryed everything I can but I can't program c at all so I'm stuck till and irrlicht would be perfect fit for my project if I can get it to talk to python
Well I saw the wrapper is dead ( I think) and what I did is I used python c/api
its more harder than using a wrapper but it is still good for small tasks.
but if you want more power try using boost python or swig.
Here's a tutorial that I've used for python embedding, it's really good explained.
http://www.ragestorm.net/tutorial?id=21
its more harder than using a wrapper but it is still good for small tasks.
but if you want more power try using boost python or swig.
Here's a tutorial that I've used for python embedding, it's really good explained.
http://www.ragestorm.net/tutorial?id=21
Working on game: Marrbles (Currently stopped).
Swig and Boost
I've been trying to experiment with boost and swig with little success so far I can get swig to go farther then boost but I cannot get either to really work. I even tryed to build off of the old pyrr files to update but I get tons of compiler errors and syntax errors when I do I was looking into ctypes but since the dll is mangled its hard to figure out how to call the functions from it and when I get the function to call I can't get the args right is there a better tutorial for this or swig