Re: [Tutor] Help! Pickle file

2007-07-05 Thread Alan Gauld
"Sara Johnson" <[EMAIL PROTECTED]> wrote > This may sound silly, but when writing a program where > there is a pickle file, how does that get included into the > entire program? For instance; > > to create a new pickle file.. > > #!/usr/bin/p

Re: [Tutor] Help! Pickle file

2007-07-04 Thread John Fouhy
On 05/07/07, Sara Johnson <[EMAIL PROTECTED]> wrote: > This may sound silly, but when writing a program where there is a pickle > file, how does that get included into the entire program? For instance; Hi Sara, You create pickles with pickle.dump and you read them with pickle.load. For example:

[Tutor] Help! Pickle file

2007-07-04 Thread Sara Johnson
This may sound silly, but when writing a program where there is a pickle file, how does that get included into the entire program? For instance; to create a new pickle file.. #!/usr/bin/python # Filename: pickling.py import cPickle as p #imp