with open('123.mp3', 'r', encoding='ansi') as audio:
content = audio.read()
client_socket.sendall(f'HTTP/1.1\r\nContent-Type: audio/mpeg\r\nContent-Disposition: '
f'attachment; filename="123.MP3"\r\nTransfer-Encoding: chunked; charset=ansi\r\n\r\n{content}'.encode('ansi'))
text = "Pantone 485 C"
arr = ['Pantone ', ' C']
for x in arr:
text = text.replace(x, "")
https://cosmocode.io/how-to-connect-selenium-to-an...