On Friday, March 6, 2015 at 1:55:31 PM UTC-8, Jason Venneri wrote: > Hello, I'm using the urllib.urlretrieve command to retrieve a couple of lines > of data. I want to combine the two results into one file not two. > > Any suggestions? > > Sample > urllib.urlretrieve('http://www.airplanes.com/data/boeing1.html','B747A.txt') > urllib.urlretrieve('http://www.airplanes.com/data/boeing2.html','B747B.txt') > > I would like one file say B747C that contains the data from B747A and B747B > in a file named B747C
What have you tried so far? Generally on this mailing list, we'll help you find what you're doing wrong, but we won't write your script for you. I'll give you one hint though, you should probably try urllib.urlopen, then write the file yourself. -- https://mail.python.org/mailman/listinfo/python-list