2004-12-11, 01:52
hi, i am trying to get startet on programming with python...
implementing and changing available scripts around a bit is working out alright for me.. but now i am trying to get startet on some own stuff.
could one of you crazy pathon gurus just help me get startet on some things.. for example.. lets say i want to read in a html file that lays on http://www.blah.com/blah.html and display the data thats within a table in that file on xbmc.. lets say the html file looks like this:
how would i read in each row, parse it, and display it on the xbmc screen?
could one of you help me get jump startet on this.. i tried some things but it diddnt quite work out the right way, hehe.
thanks in advance
implementing and changing available scripts around a bit is working out alright for me.. but now i am trying to get startet on some own stuff.
could one of you crazy pathon gurus just help me get startet on some things.. for example.. lets say i want to read in a html file that lays on http://www.blah.com/blah.html and display the data thats within a table in that file on xbmc.. lets say the html file looks like this:
Quote:<html>
<head>
<title>test</title>
</head>
<body>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td>collumn 1</td><td>collumn 2</td><td>collumn 3</td><td>collumn4</td></tr>
<tr>
<td>row 2 1</td><td>row 2 2</td><td>row 2 3</td><td>row 2 4</td></tr>
<tr>
<td>row 3 1</td><td>row 3 2</td><td>row 3 3</td><td>row 3 4</td></tr>
<tr>
<td>row 4 1</td><td>row 4 2</td><td>row 4 3</td><td>row 4 4</td></tr>
<tr>
<td>row 5 1</td><td>row 5 2</td><td>row 5 3</td><td>row 5 4</td></tr>
<tr>
<td>row 6 1</td><td>row 6 2</td><td>row 6 3</td><td>row 6 4</td></tr>
</table>
</body>
</html>
how would i read in each row, parse it, and display it on the xbmc screen?
could one of you help me get jump startet on this.. i tried some things but it diddnt quite work out the right way, hehe.
thanks in advance