Python SimpleXML中的html弹出窗口
假设我有一个html表:Python SimpleXML中的html弹出窗口,python,html,google-earth,simplekml,Python,Html,Google Earth,Simplekml,假设我有一个html表: 单位 接触 国家 阿尔弗雷德·福特基斯特 玛丽亚·安德斯 德国 刚刚找到它。描述并接受Html标记 kml = simplekml.Kml(open=0) # open a file pfol = kml.newfolder(name='foo',open=0) # start a folder pol = pfol.newpoint(name= 'bar') # define a point pol.balloonstyle.text = '<HTMLTAB
单位
接触
国家
阿尔弗雷德·福特基斯特
玛丽亚·安德斯
德国
刚刚找到它。描述并接受Html标记
kml = simplekml.Kml(open=0) # open a file
pfol = kml.newfolder(name='foo',open=0) # start a folder
pol = pfol.newpoint(name= 'bar') # define a point
pol.balloonstyle.text = '<HTMLTABLE>' # insert html
pol.description = 'my point'
kml=simplexml.kml(open=0)#打开一个文件
pfol=kml.newfolder(name='foo',open=0)#启动一个文件夹
pol=pfol.newpoint(name='bar')#定义一个点
pol.ballopstyle.text=''#插入html
pol.description='我的观点'