Lines Matching refs:fout
25 def valueTreeToString(fout, value, path = '.'): argument
28 fout.write('%s={}\n' % path)
33 valueTreeToString(fout, value[name], path + suffix + name)
35 fout.write('%s=[]\n' % path)
37 valueTreeToString(fout, childValue, path + '[%d]' % index)
39 fout.write('%s="%s"\n' % (path,value))
41 fout.write('%s=%d\n' % (path,value))
43 fout.write('%s=%.16g\n' % (path,value))
45 fout.write('%s=true\n' % path)
47 fout.write('%s=false\n' % path)
49 fout.write('%s=null\n' % path)
55 fout = file(actual_path, 'wt')
56 valueTreeToString(fout, root)
57 fout.close()