I have a flat file database that I want to get information from.  The basic
text looks like this:

ITEM    {
        "FULLNAME"      "apps114.chgit.com!file:/etc"
        "RECOVERY"      "0"
}

They are all on a separate line in the text file.  I had thought about
trying to drop it into a list or a dictionary.  Most likely a dictionary.
What would be the best practice to get this into a dictionary?  I had
thought about using regular expressions to pull the data I need.  Just not
totally sure how to approach this for the most part.  Not looking for
solutions just ideas on how to approach the problem.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to