Comment ouvrir le fichier dans BeautifulSoup

from bs4 import BeautifulSoup
with open("index.html" , "r") as f:
    doc = BeautifulSoup(f , 'html.parser')
    print(doc.prettify()) 
    # prettify fuction makes you code look prettier
    
Prashasti Gupta