tags:

views:

13

answers:

1

Hi every one,

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

A: 

In IronPython 2.6 and above you should be able to do:

fl.write(bytes(<......>))

Dino Viehland
Thank you, that helped