Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

Shadowys

  • 3 years ago

How do I directly display a webpage on the python GUI e.g. in a frame? I heard about (common gateway interface)CGI but I don't know what is that. I'm currently using tkinter.

  • This Question is Closed
  1. estudier
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    I'm only a beginner really, I have PyQt installed and I messed a little bit with QWebView() which seemed to work OK. Seems to be quite a lot of different GUI packages....

  2. rsmith6559
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Common Gateway Interface has to do with a program on a webserver executing and outputting a webpage. Except for possibly passing arguments to the webserver, CGI has nothing to do with the client. Displaying a web page in a frame is, well, a web browser.

  3. Shadowys
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I was trying to make a webbrowser but so far tkinter only has webbrowswer controls. Hmm...lemme hope that my line will be better to download other GUI packages...

  4. FabienToune
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    The best approach for what you plan to do in my opinion is to use PyQT instead of Tkinter and the WebKit renderering engine. You should find valuable help there : http://www.rkblog.rk.edu.pl/w/p/webkit-pyqt-rendering-web-pages/

  5. Shadowys
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    While I was searching for the original source for linking web, it seems that this will have to work. VB has a similar function but the webbrowser is one of a scaled down internet explorer.

  6. FabienToune
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I hope it helps you ...

  7. Shadowys
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Lol, it really did. Thanks to all of you!

  8. Preetha
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Shadowsys - if you liked the response, show it by giving the answerer a medal! Its the OpenStudy code of conduct! And everyone loves it.

  9. tbrams
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Also, if you are up for it, Google has an excellent tutorial on using the Google App Engine with Python. One of the aspects is using a Webapp framework. I learned a lot when I read it, maybe you will to - here is a link: https://developers.google.com/appengine/docs/python/gettingstarted/usingwebapp

  10. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy