Answer the question
In order to leave comments, you need to log in
What is the "%" character in stdout?
Sometimes the character "%" appears in stdout.
For example, there is such a python script
#!/usr/bin/python
import socket
sock = socket.socket()
sock.bind(("127.0.0.1", 8081))
sock.listen(5)
conn, addr = sock.accept()
conn.send(b"Hi!")
conn.close()
~/python/http> nc 127.0.0.1 8081
Hi!%
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question