Using a webscrapper in python in my C++ gui
-
wrote on 12 Apr 2020, 02:37 last edited by Laner107 4 Dec 2020, 04:02
I am wondering if it is easier to make a webscrapper using python and then implementing it into my C++ gui, but how will i convert my variables that are stored in c++ on users input over to python to get the necessary data to web scrap, what is the easiest way to go about this in QT? Thank you in advance!
An example is I would need the info in the picture to be able to be evaluated in python?
-
wrote on 12 Apr 2020, 14:23 last edited by gde23 4 Dec 2020, 14:23
you can embed python in your c++ application, see here:
https://docs.python.org/3/extending/embedding.html
However if you want to build a Qt GUI for a python project why do you want to implement the GUI in c++ and not just use Qt for python?
-
you can embed python in your c++ application, see here:
https://docs.python.org/3/extending/embedding.html
However if you want to build a Qt GUI for a python project why do you want to implement the GUI in c++ and not just use Qt for python?
wrote on 13 Apr 2020, 03:26 last edited by@gde23 Because I want to focus on building my C++ experience right now and want the general application to be built in C++ but figured a bit of practice with python and integration would be nice and I know python is better for webscrapping and what not.
1/3