l="7cer478jhbf4567"
s2.send()
print(s.recv(4095))
The variable l
holds a hashed string which will be updated continuously.S2.send()
accepts only byte string something like this b"7cer478jhbf4567"
.How can I make S2.send()
accept byte string which keeps changing continuously as input?