I don't seem to be able to save a number to a data file:
a = 123.44 f = open("data1.dat", "w") f.write(a) f.close()
I get this message:
Traceback (most recent call last): File "<string>", line 204, in run_nodebug File "C:\Python25\ZLM\int2file.py", line 4, in <module> f.write(a) TypeError: argument 1 must be string or read-only character buffer, not float
I know I must overlook something simple.