i try to save received data into file:
#data Array[byte]
fl = open(file_name, 'wb')
fl.write(<.....>)
fl.close()
So how can i get string from Array[byte] to make it possible?
Thank you in advance Serge
i try to save received data into file:
So how can i get string from Array[byte] to make it possible? Thank you in advance Serge | |||
feedback
|
In IronPython 2.6 and above you should be able to do: fl.write(bytes(<......>)) | |||
feedback
|