1. 程式人生 > >Python內置的服務器的使用

Python內置的服務器的使用

http spa cal cms server ffi pytho shell https

cd 到某一文件

Python內置的服務器:

E:\myObject\office\netObject\new-gcms> python -m SimpleHTTPServer 8888

如果是Python 3+

python -m http.server 8888

當本地服務器運行起來時,即可訪問 http://localhost:8888/

Python內置的服務器的使用