How do I shut down a python simpleHTTPserver?

前端 未结 8 1299
太阳男子
太阳男子 2020-12-12 12:29

So I\'m trying to learn d3, and the wiki suggested that

To view the examples locally, you must have a local web server. Any web server will work;

8条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-12 13:18

    It seems like overkill but you can use supervisor to start and stop your simpleHttpserver, and completely manage it as a service.

    Or just run it in the foreground as suggested and kill it with control c

提交回复
热议问题