Re: UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in

2008-10-21 Thread Gabriel Genellina
En Thu, 16 Oct 2008 00:16:13 -0300, MOS37F MOS37F <[EMAIL PROTECTED]> escribió: import shelve from ShelfFile import ABC from zipfile import ZipFile, ZIP_DEFLATED ShelfFilePath = 'E:\DIR\DIR\DIR\ShelfFile' If you want some kind of answer: - shorten the code to the minimum fragment that stil

UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in

2008-10-15 Thread MOS37F MOS37F
import shelve from ShelfFile import ABC from zipfile import ZipFile, ZIP_DEFLATED ShelfFilePath = 'E:\DIR\DIR\DIR\ShelfFile' def TEST(): ShelfFileObject = shelve.open(ShelfFilePath) RetrievedObject = ShelfFileObject['abc'] ShelfFileObject.close() return RetrievedObject Ret