Following is a part of a webpage i downloaded with urlretrieve (urllib). I want to write only this data from the webpage given below in to another text file as:
ENGINEERING MATHEMATICS-IV, 4 ,36 ,40 , F
ENVIRONMENTAL STUDIES, 47, 36, 83 , p
...
..
.
likeways.. which module should i use?, which all commands??
thanx in advance..:)
part of the webpage
<td>ENGINEERING MATHEMATICS-IV</td>
<td align=center>4</td>
<td align=center>36</td>
<td align=center>40</td>
<td align=center>F</td>
</tr>
<tr align=left bgcolor='#FFFFFF'> <td>EIT402 </td>
<td>ENVIRONMENTAL STUDIES</td>
<td align=center>47</td>
<td align=center>36</td>
<td align=center>83</td>
<td align=center>P</td>
</tr>
<tr align=left bgcolor='#DA9292'> <td>EIT403 </td>
<td>SYSTEM PROGRAMMING</td>
<td align=center>40</td>
<td align=center>36</td>
<td align=center>76</td>
<td align=center>P</td>
</tr>
<tr align=left bgcolor='#FFFFFF'> <td>EIT404 </td>
<td>MICROPROCESSOR BASED DESIGN</td>
<td align=center>3</td>
<td align=center>35</td>
<td align=center>38</td>
<td align=center>F</td>
</tr>
<tr align=left bgcolor='#DA9292'> <td>EIT405 </td>
<td>PROGRAMMING PARADIGMS</td>
<td align=center>42</td>
<td align=center>36</td>
<td align=center>78</td>
<td align=center>P</td>
</tr>
<tr align=left bgcolor='#FFFFFF'> <td>EIT406 </td>
<td>COMMUNICATION SYSTEMS</td>
<td align=center>9</td>
<td align=center>35</td>
<td align=center>44</td>
<td align=center>F</td>
</tr>
<tr align=left bgcolor='#DA9292'> <td>EIT407 </td>
<td>DATA STRUCTURE LAB</td>
<td align=center>10</td>
<td align=center>35</td>
<td align=center>45</td>
<td align=center>F</td>
</tr>
<tr align=left bgcolor='#FFFFFF'> <td>EIT408 </td>
<td>PROGRAMMING ENVIRONMENTS LAB</td>
<td align=center>20</td>
<td align=center>25</td>
<td align=center>45</td>
<td align=center>F</td>
</tr>
works quite nicely if you assume the saved page starts like
resulting in