Jorge Louis de Castro wrote:
> Hi,
>
> [Sorry for the repost, there was a typo previously]
>
> I think I may have misinterpreted the syntax of cPickle. I have dumped data
> onto a file using:
>
> output = codecs.open(".\\"+self.filename, "ab")
Use plain open(), not codecs.open(), as you are no
Jorge Louis de Castro a écrit :
> Hi,
>
> [Sorry for the repost, there was a typo previously]
>
> I think I may have misinterpreted the syntax of cPickle. I have dumped data
> onto a file using:
>
> [...]
>
> I thought I could unpickle this using the load feature, something like:
> inFile =
Hi,
[Sorry for the repost, there was a typo previously]
I think I may have misinterpreted the syntax of cPickle. I have dumped data
onto a file using:
output = codecs.open(".\\"+self.filename, "ab")
cPickle.dump(self.terms, output)
cPickle.dump(self.username, output)
cPickle.dump(self.age, outp