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.
MIT 6.189 A Gentle Introduction to Programming Using Python (OCW)
Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
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....
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.
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...
Not the answer you are looking for? Search for more explanations.
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/
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.
I hope it helps you ...
Lol, it really did. Thanks to all of you!
Shadowsys - if you liked the response, show it by giving the answerer a medal! Its the OpenStudy code of conduct! And everyone loves it.
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