6 Replies - 363 Views - Last Post: 03 August 2013 - 01:33 PM Rate Topic: -----

#1 dannii  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 44
  • Joined: 28-June 13

python shelve

Posted 01 August 2013 - 06:06 PM

I've been looking for information on python shelve module that is written in easy to understand format for a newbie.
I'm trying to figure out how to take a text file and save the data into a dictionary shelve and haven't found anything that actually explains what it is or how to do it with a file. any help in explanation or url that explains would be appreciated.
Is This A Good Question/Topic? 0
  • +

Replies To: python shelve

#2 ConciselyVerbose  Icon User is offline

  • D.I.C Regular

Reputation: 90
  • View blog
  • Posts: 315
  • Joined: 05-July 13

Re: python shelve

Posted 01 August 2013 - 07:20 PM

This is the best information I found. It's pretty basic but it may be useful.
Was This Post Helpful? 0
  • +
  • -

#3 dannii  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 44
  • Joined: 28-June 13

Re: python shelve

Posted 01 August 2013 - 07:41 PM

Thank you Concisely....I'm reading it now and I'm trying to apply it to my file that I've been working on.
Was This Post Helpful? 0
  • +
  • -

#4 DblAAssassin  Icon User is offline

  • D.I.C Head

Reputation: 32
  • View blog
  • Posts: 246
  • Joined: 11-May 13

Re: python shelve

Posted 02 August 2013 - 11:19 AM

I found that the Official Python Documentation for the Shelve Module to be quite easy to understand. If your having issue s with your code post it, and I'm sure we'll try to help.
Was This Post Helpful? 0
  • +
  • -

#5 dannii  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 44
  • Joined: 28-June 13

Re: python shelve

Posted 02 August 2013 - 11:32 AM

I do not have any code yet, since I am trying to figure out how to use the shelve module. At the moment I have a txt file that I will be splitting the lines. Each line will have three fields, I will be using field 2 and 3 to populate a persistent dictionary. That is why I was wanting a url to read and see if I could figure this out. Any suggestions on how to start would be great. I'll also be checking out the site you posted. Thank you.
Was This Post Helpful? 0
  • +
  • -

#6 dannii  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 44
  • Joined: 28-June 13

Re: python shelve

Posted 03 August 2013 - 12:10 PM

Thank you for the url's. I was able to complete my assignment with a A. Sometimes it is much better to lead the horse to water.
Was This Post Helpful? 0
  • +
  • -

#7 DblAAssassin  Icon User is offline

  • D.I.C Head

Reputation: 32
  • View blog
  • Posts: 246
  • Joined: 11-May 13

Re: python shelve

Posted 03 August 2013 - 01:33 PM

I like my thank yous with a click of the +! :P
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1