I have a client program in java that sends a message \"Hello\" to python server.
Java code
import java.io.*; import java.net.*; public cla
because the string you get on the server side has 2 hidden characters at the beginning, so you must remove these 2 characters before comparing it.
if ( msg[2:] == "Hello" ):