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 322 views
1 answer 184 views
1 answer 183 views
1 answer 160 views
2 answers 278 views
...