Hello everyone! This is my first post here, so, hi. ;)

So I'm beginning to port (actually, re-write) one of my C games to Python to extend my Python knowledge, using wxPython. Yes, I know of PyGame, but I really want to use wxPython this time. I'm guessing direct pixel access in wxPython (or wxWidgets for that matter) is very slow, and I was wondering if I could use wxPython inside a C module that does all the pixel manipulations.

I believe I have wxWidgets already compiled in my C environment, the question is, how do I interface that with Python?

Thanks in advance!

Have you looked at Cython? Good way to interface C and Python.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.