→ qrtt1:python -m SimpleHTTPServer 03/25 13:10
※ 引述《bobhsiao (㊣小臃腫㊣)》之銘言:
: 最近 cross compile 出 microperl on target board
: 雖然只有試一行 ./microperl -e 'print "hello world";'
: 就已經很爽啦
: 只是 python 好像沒有類似的小東西?
: 一定要編完整的才能跑嗎?
Python的一行Http server
python -c "import SimpleHTTPServer;SimpleHTTPServer.test()"
來源:
http://www.garyrobinson.net/2004/03/one_line_python.html
--
Now.in 網路廣播平台 http://now.in
哇咧咧 創意投票系統 http://walele.com
易記學 程式設計教學 http://ez2learn.com/
VICTOR's 個人Blog http://blog.ez2learn.com/
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 111.252.70.13