Lines Matching refs:fout
18 def valueTreeToString( fout, value, path = '.' ): argument
21 fout.write( '%s={}\n' % path )
26 valueTreeToString( fout, value[name], path + suffix + name )
28 fout.write( '%s=[]\n' % path )
30 valueTreeToString( fout, childValue, path + '[%d]' % index )
32 fout.write( '%s="%s"\n' % (path,value) )
34 fout.write( '%s=%d\n' % (path,value) )
36 fout.write( '%s=%.16g\n' % (path,value) )
38 fout.write( '%s=true\n' % path )
40 fout.write( '%s=false\n' % path )
42 fout.write( '%s=null\n' % path )
48 fout = file( actual_path, 'wt' )
49 valueTreeToString( fout, root )
50 fout.close()