In Terminal (SimpleHTTPServer):
cd ~python -m SimpleHTTPServer 8080 #不指定端口默认为8000
In Terminal (CGIHTTPServer):
cd ~python -m CGIHTTPServer #默认端口为8000
Reference:
本文共 233 字,大约阅读时间需要 1 分钟。
In Terminal (SimpleHTTPServer):
cd ~python -m SimpleHTTPServer 8080 #不指定端口默认为8000
In Terminal (CGIHTTPServer):
cd ~python -m CGIHTTPServer #默认端口为8000
Reference:
转载于:https://www.cnblogs.com/makemelike/articles/3340210.html