✨A Muti-Threaded CGI-Support HTTP Web Server

run

  • method1

    • step1:

      python server.py
    • step2:

      • enter the number of threads in command line
      • check the TCP listening port of your server
    • step3:

      • open your favourate browser, and enter the url localhost:[port]/
  • method2

    • click server.exe

functoin

  • use CGI to generate dynamic web page
  • two func:
    • add calculator
    • database query

demo

demo