Save python plistlib data (revised)
<p>How can I use this working code:</p>

<pre><code>import plistlib, time
import zipfile


from contextlib import closing
import os



with closing(zipfile.ZipFile("fw.zip")) as zfile:
     for info in zfile.infolist():
        if info.filename.endswith('Restore.plist'):
            zfile.extract(info)

import plistlib as pl
p=pl.readPlist("Restore.plist")
print p["ProductType"]
print p["ProductVersion"]
print p["ProductBuildVersion"]
outputfile = open('output.txt', 'w')
outputfile.write( p["ProductVersion"] )
outputfile.write( ' ')
outputfile.write( p["ProductType"] )
outputfile.write( ' ')
outputfile.write( p["ProductBuildVersion"] )
outputfile.close()
</code></pre>

<p>and use it to write out the string under the "update" key in this plist, seeing how update key is under another set of keys called "RestoreRamDisks"? </p>

<pre><code>&lt;key&gt;RestoreRamDisks&lt;/key&gt;#this is the key that the "update" key is under
&lt;dict&gt;
    &lt;key&gt;Update&lt;/key&gt;#here is the update key I'm talking about
    &lt;string&gt;018-7074-092.dmg&lt;/string&gt;#this is what I want python to spit out
    &lt;key&gt;User&lt;/key&gt;
    &lt;string&gt;018-7082-092.dmg&lt;/string&gt;
&lt;/dict&gt;
</code></pre>

<p>To clarify, I just want use the same method above, this time, to get the info of the "update" key.  The part that confuses me is that the "update" key is underneath another key called "RestoreRamDisks".  I want this program to spit out 018-7074-092.dmg when asked to locate the "update" key..</p>
