how could i download a empty file from a website and see if the lines are the same as a diffrent file on my computer?
Dat One Lefty
0
Newbie Poster
Recommended Answers
Jump to PostHi
Here is how to download this page from python, in file/tmp/foo.html
import urllib urllib.urlretrieve("https://www.daniweb.com/programming/threads/500869/python-grabbing-website-data", "/tmp/foo.html")
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.