Flush the extracted file to the disk in python
<p>This is my code :</p>

<pre><code> x=zipfile.ZipFile('C://X/malware.zip')
    for i in range(1):        
        x.extractall('C://E',pwd='infected')
        start=time.clock()
        print str(start)
        while flag==1:
            if os.path.exists('C://E/malware.exe')==True:
                flag=1
            else:
                flag=0

    finish=time.clock()
    print str(finish)
    elapsed=finish-start
    print "the time elapsed is " + str(elapsed)+"seconds"
</code></pre>

<p>I need the extraction written directly to the disk ,,,how I can make flush to the file that is being extracted ,,,???</p>
