Re: [Tutor] pickle problem

2010-10-12 Thread Alan Gauld
"Roelof Wobben" wrote image = urllib.URLopener() image.retrieve("http://www.pythonchallenge.com/pc/def/peak.html","banner.p"; ) Roelof, Please do not post a series of request for help on each of the Python Challenge puzzles. They are intended to be challenging and to force you to consult t

Re: [Tutor] pickle problem

2010-10-12 Thread Walter Prins
On 12 October 2010 18:35, Roelof Wobben wrote: > image = urllib.URLopener() > image.retrieve("http://www.pythonchallenge.com/pc/def/peak.html","banner.p"; > ) > OK firstly, image is an URLopener, so whatever URL you specify, that's the file that it will download. (I would therefore suggest you

Re: [Tutor] pickle problem

2010-10-12 Thread Joel Goldstick
On Tue, Oct 12, 2010 at 1:35 PM, Roelof Wobben wrote: > > > Hello, > > I have this code : > > import urllib > import pickle > > image = urllib.URLopener() > image.retrieve("http://www.pythonchallenge.com/pc/def/peak.html","banner.p"; > ) > plaatje = open("banner.p", "rb") > plaatje2 = pickle.load

Re: [Tutor] pickle problem

2010-10-12 Thread Adam Bark
On 12/10/10 18:35, Roelof Wobben wrote: Hello, I have this code : import urllib import pickle image = urllib.URLopener() image.retrieve("http://www.pythonchallenge.com/pc/def/peak.html","banner.p"; ) plaatje = open("banner.p", "rb") plaatje2 = pickle.load(plaatje) But it gives this output :

Re: [Tutor] pickle problem

2010-10-12 Thread Knacktus
Am 12.10.2010 19:35, schrieb Roelof Wobben: Hello, I have this code : import urllib import pickle image = urllib.URLopener() image.retrieve("http://www.pythonchallenge.com/pc/def/peak.html","banner.p"; ) plaatje = open("banner.p", "rb") plaatje2 = pickle.load(plaatje) But it gives this outp