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

share|improve this question
feedback

1 Answer

up vote 0 down vote accepted

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

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

share|improve this answer
Thank you, that helped – user435429 Sep 1 '10 at 16:26
feedback

Your Answer

 
or
required, but never shown
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.