Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

link prettify in beautifulsoup

# Import Required Module
import requests
from bs4 import BeautifulSoup
  
# Web URL
Web_url = "https://www.geeksforgeeks.org/transparent-window-in-tkinter/"
  
# Get URL Content
r = requests.get(Web_url)
  
# Parse HTML Code
soup = BeautifulSoup(r.content, 'html.parser')
print(soup.prettify())
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #link #prettify #beautifulsoup
ADD COMMENT
Topic
Name
4+3 =