How to join byte list with Python

1 Answer

0 votes
arr = [b'python', b'php', b'c#']

s = b" ".join(arr)

print(arr)
print(s)

'''
run:

[b'python', b'php', b'c#']
b'python php c#'

'''

 



answered Sep 8, 2018 by avibootz

Related questions

2 answers 451 views
1 answer 248 views
1 answer 250 views
1 answer 239 views
2 answers 384 views
...