Python show part of a browser? -
i'm in mist of building "application" , need display google map show markers of locations. thought may create web page google map. , display if possible in python gui (by api).
is there gui api up?
please take @ http://www.gnu.org/software/pythonwebkit/ need add <iframe>
dom document tree
def _view_load_finished_cb(self, view, frame): doc = frame.get_dom_document() nodes = doc.getelementsbytagname('body') body = nodes.item(0) d = doc.createelement("iframe") d.setattribute('width', 640) d.setattribute('height', 480) d.setattribute('src', 'https://www.google.com/maps/embed/v1/place?key=your_api_key&q=space+needle,seattle+wa') body.appendchild(d)
Comments
Post a Comment