Re: [Tutor] Pickles and Shelves Concept

2019-06-08 Thread Gursimran Maken
Thank you all for explaining me the above concept. On Sat, Jun 8, 2019 at 5:27 PM Alan Gauld via Tutor wrote: > On 08/06/2019 01:02, Alan Gauld via Tutor wrote: > > > keys to your data and then restore it in any sequence, or > > only restore some of it, you can. > > Apologies for the Yoda-speak

Re: [Tutor] Pickles and Shelves Concept

2019-06-08 Thread Alan Gauld via Tutor
On 08/06/2019 01:02, Alan Gauld via Tutor wrote: > keys to your data and then restore it in any sequence, or > only restore some of it, you can. Apologies for the Yoda-speak at the end! A bit of editing that didn't quite work out as intended... -- Alan G Author of the Learn to Program web site

Re: [Tutor] Pickles and Shelves Concept

2019-06-07 Thread Martin A. Brown
Hello, >I am not getting the concept of pickle and shelves in python, I >mean what's the use of both the concepts, when to use them in code >instead of using file read and write operations. > >Could anyone please explain me the concepts. I see you already have two answers (from David Rock and

Re: [Tutor] Pickles and Shelves Concept

2019-06-07 Thread Alan Gauld via Tutor
On 07/06/2019 18:42, Gursimran Maken wrote: > I am not getting the concept of pickle and shelves in python, I mean what's > the use of both the concepts, when to use them in code instead of using > file read and write operations. You are right in that you could save all your data to a file using

Re: [Tutor] Pickles and Shelves Concept

2019-06-07 Thread David Rock
> On Jun 7, 2019, at 12:42, Gursimran Maken wrote: > > Hi All, > > I am not getting the concept of pickle and shelves in python, I mean what's > the use of both the concepts, when to use them in code instead of using > file read and write operations. > > Could anyone please explain me the conc

[Tutor] Pickles and Shelves Concept

2019-06-07 Thread Gursimran Maken
Hi All, I am not getting the concept of pickle and shelves in python, I mean what's the use of both the concepts, when to use them in code instead of using file read and write operations. Could anyone please explain me the concepts. Thank you, Gursimran. _