i found information on it but now I'm getting a TypeError if event.key == K_s: out_file = open('test.txt', 'w') objRect = rect() pickle.dump(objRect, out_file)
On 9/24/07, David <[EMAIL PROTECTED]> wrote: > > > Pickle is one of Python's serializing modules. > > http://docs.python.org/lib/module-pickle.html > > It can save and restore data, code, classes, etc... > > David > > > On 9/24/07, Eric Hunter <[EMAIL PROTECTED]> wrote: > > > > yeah. that's what I was thinking using a .txt file. what's pickle? > > > > On 9/24/07, Ian Mallett <[EMAIL PROTECTED] > wrote: > > > > > > On 9/23/07, Aaron Maupin < [EMAIL PROTECTED] > wrote: > > > > Eric Hunter wrote: > > > > You could just pickle the list. That's essentially what I used for > > > pickle? > > > I've always used .txt files. > > > > > > > > > > -- > [EMAIL PROTECTED] > Pitcher's Duel -> pitchersduel.python-hosting.com