I’m trying to open an HTML file with wx.html.HtmlWindow.LoadFile(path) (i’m using the example from wxpython in action):
html = wx.html.HtmlWindow.LoadPage(r"C:\Python25\Scripts\Log Gui\MsgChart.html")
When i open the file with explorer it looks ok, but, with the wxpython module i get only the table header fine, but instead of the table i get:
(the content is the table headers and the fields)
''Frame NumberEntityMessage TypeDirectionComments 1181608 MM CM SERVICE REQUEST ’ ‘’ 1181651 MM CM SERVICE REQUEST ‘d----->’ ‘’ 1181659 RR CLASSMARK CHANGE ’ ‘’ 1181667 RR SYSTEM INFORMATION TYPE 6 ‘d----->’ ‘’ 1181702 MM AUTHENTICATION REQUEST ‘d----->’ ‘’ 1181710 RR GPRS SUSPENSION REQUEST ’ ‘’ 1181769 RR SYSTEM INFORMATION TYPE 5 ‘d----->’ ‘’ 1181777 RR MEASUREMENT REPORT ’ ‘’ 1181812 MM AUTHENTICATION RESPONSE ’ ‘’ 1181855 RR CIPHERING MODE COMMAND ‘d----->’ ‘’
 
;
any suggestion?
Thanks in advance,
Roy.
···
Connect to the next generation of MSN Messenger Get it now!
Hi All,
I'm trying to open an HTML file with wx.html.HtmlWindow.LoadFile(path) (i'm using the example from wxpython in action):
html = wx.html.HtmlWindow.LoadPage(r"C:\Python25\Scripts\Log Gui\MsgChart.html")
When i open the file with explorer it looks ok, but, with the wxpython module i get only the table header fine, but instead of the table i get:
(the content is the table headers and the fields)
''Frame NumberEntityMessage TypeDirectionComments 1181608 MM CM SERVICE REQUEST ' '' 1181651 MM CM SERVICE REQUEST 'd----->' '' 1181659 RR CLASSMARK CHANGE ' '' 1181667 RR SYSTEM INFORMATION TYPE 6 'd----->' '' 1181702 MM AUTHENTICATION REQUEST 'd----->' '' 1181710 RR GPRS SUSPENSION REQUEST ' '' 1181769 RR SYSTEM INFORMATION TYPE 5 'd----->' '' 1181777 RR MEASUREMENT REPORT ' '' 1181812 MM AUTHENTICATION RESPONSE ' '' 1181855 RR CIPHERING MODE COMMAND 'd----->' ''
any suggestion?
wxHtmlWindow can only handle straight HTML. No CSS, no JavaScript, no fancyness.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!