সম্পাদনা
from bs4 import BeautifulSoup html = "<p>শিখুন</p>" soup = BeautifulSoup(html, "html.parser") element = soup.find("p") element.extend([" বিউটিফুলসপ", "!"]) print(element)
পূর্বরূপ