def preview():  
Handler = http.server.SimpleHTTPRequestHandler<EOL>socketserver.TCPServer.allow_reuse_address = True<EOL>port = CONFIG['<STR_LIT>']<EOL>httpd = socketserver.TCPServer(("<STR_LIT>", port), Handler)<EOL>os.chdir(CONFIG['<STR_LIT>'])<EOL>try:<EOL><INDENT>logger.info("<STR_LIT>"<EOL>"<STR_LIT>" % CONFIG['<STR_LIT>'])<EOL>logger.info("<STR_LIT>")<EOL>httpd.serve_forever()<EOL><DEDENT>except KeyboardInterrupt:<EOL><INDENT>httpd.shutdown()<EOL><DEDENT>
launch an HTTP to preview the website