with s:
message = pyautogui.prompt('enter data', 'Send Data')
s.sendall(**b'variable goes here'**)
data = s.recv(1024)
In line 3, I need to put a variable inside of the parentheses, but keep the bytes prefix, or an equivalent, something like this:
s.sendall(b'somerandomtext{variable}')
How can I do this?