Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hybrid Application with Python GUI with C++ background modules

I want to write a hybrid application which uses python as GUI component, and C++ module as background services.

I know how to program with Python, and C++, but I don't find a mature/nice way to make them work together smoothly. Could you guys shed some light on this for me? A good document/tutorial is also very appreciated.

like image 246
giggle Avatar asked Apr 11 '11 08:04

giggle


People also ask

Is Python good for GUI apps?

While being incredibly useful for the fields of data science and machine learning, Python is also great for developing graphical user interfaces! In fact, it has many frameworks that even beginners can use to easily get started with developing a GUI.

Can you build a GUI with Python?

Creating a simple graphical user interface (GUI) that works across multiple platforms can be complicated. But it doesn't have to be that way. You can use Python and the PySimpleGUI package to create nice-looking user interfaces that you and your users will enjoy!

How do you make a beautiful GUI in Python?

The only thing the user needs to do is design an interface with Figma, and then paste the Figma file URL and API token into Tkinter Designer. Tkinter Designer will automatically generate all the code and images required to create the GUI in Tkinter.


1 Answers

I like to use cython for writing glue code between those two worlds, or if I want stronger separation for any reason I like the ctypes approach.

like image 178
Toni Ruža Avatar answered Sep 22 '22 21:09

Toni Ruža