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 460 views
1 answer 252 views
1 answer 254 views
1 answer 243 views
2 answers 390 views
...