From a large table I want to read rows 5, 10, 15, 20 … using BeautifulSoup. How do I do this? Is findNextSibling and an incrementing counter the way to go?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could also use
findAllto get all the rows in a list and after that just use the slice syntax to access the elements that you need: