Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

Shadowys

  • 2 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
    • 2 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
    • 2 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
    • 2 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
    • 2 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
    • 2 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
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I hope it helps you ...

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

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

  8. Preetha
    • 2 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
    • 2 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

Ask a Question
Find more explanations on OpenStudy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.