首页 > python3.5里面怎么搭建简单的web服务器

python3.5里面怎么搭建简单的web服务器

网上各种用python搭建服务器的方法,但是貌似跟我的版本不同,在我里面都没有那个模块。。。


什么依赖都不用的:

python 2.7

python -m SimpleHTTPServer 80

python 3

python -m http.server

需要依赖的话,你就要用pip这个工具去安装了

【热门文章】
【热门文章】