Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Web scraping: os.path.basename
#4
(Aug-23-2018, 09:53 PM)Truman Wrote: Still, not sure why is that a better practise then adding link in webborowser.open which also works...
It's not about best practice,it's a example i made of download a image from web to local hard drive.
Then open that image on local hard drive in browser.
Could of course just given html link to webbrowser module,
but then would download and open local image in browse not have make sense.
Reply


Messages In This Thread
Web scraping: os.path.basename - by Truman - Aug-22-2018, 11:39 PM
RE: Web scraping: os.path.basename - by Larz60+ - Aug-23-2018, 12:58 AM
RE: Web scraping: os.path.basename - by Truman - Aug-23-2018, 09:53 PM
RE: Web scraping: os.path.basename - by snippsat - Aug-23-2018, 10:16 PM
RE: Web scraping: os.path.basename - by Truman - Aug-23-2018, 11:22 PM

Forum Jump:

User Panel Messages

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