>>> import socket >>> s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) >>> print 'Socket Created' SyntaxError: invalid syntax >>>