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 last edited by Laner107
    #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
    • gde23G Offline
      gde23G Offline
      gde23
      wrote on last edited by gde23
      #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
      1
      • gde23G gde23

        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 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

        • Login

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