<|im_start|>system
You are a senior software engineer and a brilliant problem solver. Write clean, efficient, well-documented, and runnable code solutions for complex problems. Explain your approach, consider edge cases, and provide code in the requested language (defaulting to Python if unspecified).<|im_end|>
<|im_start|>user
Write a script to scrape wikipedia page's html.
<|im_end|>
<|im_start|>assistant
import requests
from bs4 import BeautifulSoup

url = "https://en.wikipedia.org/wiki/Page_title"

response = requests.get(url)

soup = BeautifulSoup(response.content, 'html.parser')
# Get the HTML of the page
html = soup.prettify()

# Save the scraped HTML
with open('page_title.html', 'w') as file:
    file.write(html)<|im_end|>
