On 06/02/12 15:11, Tony Pelletier wrote:
Hi,I've been tasked with getting the encoded value using a SOAP call and then writing the file out. I first used the interpreter to do so like such: import base64 encoded = 'super long encoded string' data = base64.b64decode(encoded) outfile = open('test.xls', 'w')
Have you tried opening as a binary file? Excel .xls uses binary data... -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
