« Back to home

Cross Platform Desktop Apps with PySide/PyQt

Posted on

Introduction While web applications are increasingly the go-to approach for modern applications, native desktop applications undoubtedly still have their place. Qt is a very robust, well documented, cross-platform GUI framework. Qt is a C++ framework, but conveniently there are bindings for many other languages including Python. Additionally, we can use Qt Designer for WYSIWYG design of our GUI layout. We can also use other tools such as cx_Freeze to create an executable application and InnoSetup to create a Windows installer.…

Read more »

Pipes for basic IPC between C/C++ and Python

Posted on

Introduction Recently I encountered the following circumstances: C++ program (Linux) needs to call a Python script. The Python script needs access to some APIs from the C++ program. Using the Python/C API is not an option. Python/C API for embedding Python in the application would probably be the cleanest approach, but as mentioned above, it was not an option in this case. One approach considered was to use pipes.…

Read more »