沒想到共享文件(只做圖片外鏈是如此簡單的)
通過http方式共享
python2
python -m SimpleHTTPServer 8080
python3
python -m http.server 8080
通過ftp方式共享
首先安裝第三方庫:
pip install pyftpdlib
共享命令
python -m pyftpdlib -p 8080
訪問
均可在瀏覽器下使用,http://localhost:8080/或者ftp://localhost:8080
圖片外鏈製作
其實點進去看圖片,這就可以使圖片外鏈了,