Python Forum
Importing created module for web scraping with bs4
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Importing created module for web scraping with bs4
#4
here is an another way to import html file:

with open("htmll.html") as fp:
	soup = BeautifulSoup(fp)
	print(soup.prettify())
Reply


Messages In This Thread
RE: Importing created module for web scraping with bs4 - by Truman - Sep-07-2018, 09:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  having a problem in importing module pratheep 1 2,721 Jan-20-2018, 07:54 AM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020