Re: [Tutor] In a pickle over pickles….Python 3

2011-11-18 Thread Jerry Hill
On Fri, Nov 18, 2011 at 11:12 AM, Joe Batt wrote: > > pickledfile=open('///Users/joebatt/Desktop/python/pickledpuzzle5.txt','w') > pickle.dump(filecontents,pickledfile) > pickledfile.close() > > A pickle is a binary object, so you'll need to open your picklefile in binary mode: pickledfi

Re: [Tutor] In a pickle over pickles….Python 3

2011-11-18 Thread Dave Angel
On 11/18/2011 11:12 AM, Joe Batt wrote: Hi All,Sorry to trouble you all again with more nooby problems! Only been programming a week so still all a haze especially since self taught….. I am opening a url and saving it to a file on my computer, then I am trying to pickle it. I have written the u

[Tutor] In a pickle over pickles….Python 3

2011-11-18 Thread Joe Batt
Hi All,Sorry to trouble you all again with more nooby problems! Only been programming a week so still all a haze especially since self taught….. I am opening a url and saving it to a file on my computer, then I am trying to pickle it. I have written the url file to a file on my computer then ope