I like to create a table with open() in a loop using the SearchCursor and InsertCursor, but I don't know how. Before I used a few geoprocessing tools to get a field for percent. The Attributtable of the raster looks like this

So I need to write the field percent with the value 8 in a new table to get a result which looks like this:

This is where I'm working on with ArcMap10.2.1:
import arcpy
import os
from arcpy import env
env.overwriteOutput = True
env.workspace = r"D:\Julia_T\projekt\testdataA"
#folder to list
ascFileList = arcpy.ListFiles("*.asc")
print ascFileList
#works
for ascFile in ascFileList:
# geoprocessing steps
ascFileName = os.path.splitext (ascFile)[0]
print ascFileName
#works
rastFile = ascFileName + "_output.img"
print rastFile
#works
#run the tool
arcpy.ASCIIToRaster_conversion (env.workspace + "\\" + ascFile, env.workspace + "\\" + rastFile, "INTEGER")
# Process: Projektion definieren
arcpy.DefineProjection_management (env.workspace + "\\" + rastFile, "GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]]")
# Process: Feld hinzufügen
arcpy.AddField_management (env.workspace + "\\" + rastFile,"Prozent","DOUBLE")
# Process: Feld berechnen
arcpy.CalculateField_management(env.workspace + "\\" + rastFile,"Prozent","( [Count] /53959) *100", "VB")
#tabelle bauen
with arcpy.da.SearchCursor(env.workspace + "\\" + rastFile,["Value","Prozent"],""""Value" = 8""") as sCur:
outputfile = r"D:\Julia_T\output\output.txt"
with arcpy.da.InsertCursor(outputfile,["Value","Prozent"]) as iCur:
for row in sCur:
print row [0], row [1]
f = open (outputfile, 'w')
f.write ("Value\nProzent")
f.close()
How can I get the percent from the value 8 in a new table?