[Tutor] BeautifulSoup - getting cells without new line characters
jonasmg at softhome.net
jonasmg at softhome.net
Sun Apr 2 10:46:35 CEST 2006
Danny Yoo writes:
>
>
>> And the solution to get the state and capital columns (where there are
>> anchors):
>>
>> for row in table('tr'):
>> for cell in row.fetch('a')[0:2]:
>> print cell.string
>
> Hi Jonas,
>
> That's good to hear! So does everything work for you then?
>
Now yes, this problem has been resolved. Thanks!
More information about the Tutor
mailing list