Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Using a webscrapper in python in my C++ gui
Forum Updated to NodeBB v4.3 + New Features

Using a webscrapper in python in my C++ gui

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 232 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Laner107
    wrote on 12 Apr 2020, 02:37 last edited by Laner107 4 Dec 2020, 04:02
    #1

    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?

    example of input that would need to be evaluated in python

    1 Reply Last reply
    0
    • G Offline
      G Offline
      gde23
      wrote on 12 Apr 2020, 14:23 last edited by gde23 4 Dec 2020, 14:23
      #2

      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?

      L 1 Reply Last reply 13 Apr 2020, 03:26
      1
      • G gde23
        12 Apr 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?

        L Offline
        L Offline
        Laner107
        wrote on 13 Apr 2020, 03:26 last edited by
        #3

        @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 Reply Last reply
        0

        1/3

        12 Apr 2020, 02:37

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved