In <[EMAIL PROTECTED]>, crystalattice
wrote:
> One other question though (hope it doesn't sound silly/stupid). Your
> suggestion to "pickle a party" using a list has me thinking: can a
> list store class instances?
Yes of course you can store class instances in lists.
> For example, if I wante
Marc 'BlackJack' Rintsch wrote:
> In <[EMAIL PROTECTED]>, crystalattice
> wrote:
>
> >> What are the problems you fear when using `shelve` by the way?
> >>
> > The ideas I got about shelve are mostly due to this thread:
> > http://tinyurl.com/lueok. There weren't any other threads
> > contradictin
In <[EMAIL PROTECTED]>, crystalattice
wrote:
>> What are the problems you fear when using `shelve` by the way?
>>
> The ideas I got about shelve are mostly due to this thread:
> http://tinyurl.com/lueok. There weren't any other threads
> contradicting the information so I figured it has merit.
M
Simon Hibbs wrote:
> I've recently gone through a similar evaluation of my options for
> persisting data. Object serialization to pickles or XML is a very easy,
> quick way of persisting data but it does have drawbacks. I'm not a
> professional developer, so if there are errors in my analysis, I'd
Marc 'BlackJack' Rintsch wrote:
> In <[EMAIL PROTECTED]>, crystalattice wrote:
>
> > On Mon, 31 Jul 2006 14:35:39 -1000, Simon Forman <[EMAIL PROTECTED]>
> > wrote:
> >
> >> What kind of trouble were you having with pickle?
> >
> > It's mostly a combination of things (I hope you can follow my logi
I've recently gone through a similar evaluation of my options for
persisting data. Object serialization to pickles or XML is a very easy,
quick way of persisting data but it does have drawbacks. I'm not a
professional developer, so if there are errors in my analysis, I'd love
to be corrected.
Sup
In <[EMAIL PROTECTED]>, crystalattice wrote:
> On Mon, 31 Jul 2006 14:35:39 -1000, Simon Forman <[EMAIL PROTECTED]>
> wrote:
>
>> What kind of trouble were you having with pickle?
>
> It's mostly a combination of things (I hope you can follow my logic).
> First, to use "good programming prac
crystalattice wrote:
>
> Plus, to modify data in a class
I presume the word "instance" is missing here ...
> do I have to unpickle the whole thing
> first or is there a way to modify the data while it's pickled? Actually,
> I think I can answer that last question: a character instance, having
On Mon, 31 Jul 2006 14:35:39 -1000, Simon Forman <[EMAIL PROTECTED]>
wrote:
> crystalattice wrote:
>> I'm creating an RPG for experience and practice. I've finished a
>> character creation module and I'm trying to figure out how to get the
>> file I/O to work.
>>
>> I've read through the python
crystalattice wrote:
> I'm creating an RPG for experience and practice. I've finished a
> character creation module and I'm trying to figure out how to get the
> file I/O to work.
>
> I've read through the python newsgroup and it appears that shelve
> probably isn't the best option for various rea
I'm creating an RPG for experience and practice. I've finished a
character creation module and I'm trying to figure out how to get the
file I/O to work.
I've read through the python newsgroup and it appears that shelve
probably isn't the best option for various reasons. This lead me to
try messi
11 matches
Mail list logo