아미(아름다운미소)

[python]3 줄 웹서버 본문

랭귀지/python

[python]3 줄 웹서버

유키공 2017. 12. 16. 01:30
웹서버
import BaseHTTPServer, SimpleHTTPServer
server = BaseHTTPServer.HTTPServer(('',80),SimpleHTTPServer.SimpleHTTPRequestHandler)
server.serve_forever()
Comments