J
Jason Friedman
Python 3.2.2 (default, Feb 14 2012, 08:06:31)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
Type "help", "copyright", "credits" or "license" for more information.Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'str' does not support the buffer interface
Or, maybe I am reading the documentation incorrectly. My goal is to
be able to write to that temporary file along the lines of "f.write()"
or "with open(f) as writer ...".
[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
Type "help", "copyright", "credits" or "license" for more information.Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'str' does not support the buffer interface
Or, maybe I am reading the documentation incorrectly. My goal is to
be able to write to that temporary file along the lines of "f.write()"
or "with open(f) as writer ...".