Python - Print on stdout on a "terminal"
Question: Before starting, I ask you all to apologize for the question. Maybe it is
stupid, but I cannot find a solution. I am working on a remote machine, and
have no idea what type.

My python code, that seems to work, is the one below. The problem is that I am
trying to print some outputs on the screen but nothing happens. I have tried
both print and raw_input but nothing happens ... Do you know any other way to
do it ?

    
    
    # Set up fields of reply message based on query
    def prepareReply():
        global authorReply, authorReplyLen, localConvId, originConvId, blbContentAndUntUnz, linkName
    
        print "PLOP!"
        raw_input("blabla")
    
        #print "="*10
    

Thanks !


Answer: 
    import sys
    print "Hi!"
    sys.stdout.flush()
    

