How does python get all the code within a tag in a piece of html code?

for example, I need all the source code within the < table > tag
for special reasons, do not use the page_source method

Sep.07,2021

Fix it.
just use "innerHTML ()"

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e45420-59b6b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e45420-59b6b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?