On 19/11/11 15:33, Joe Batt wrote:

file=open('///Users/joebatt/Desktop/banner.p.webarchive','r')

Try opening it on binary mode.
Pickle files are not plain text.

a=pickle.load(file)
file.close()
print (a)

--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to