Simpel HTTP Server

From OnnoWiki
Revision as of 05:24, 27 May 2012 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Python mempunyai modul HTTP Server sederhana, yang sangat mudah diimplementasikan.

python -m SimpleHTTPServer

Otomatis direktori tempat menjalankan perintah tersebut akan dapat diakses via web di port 8000.

Untuk mengganti port, selain 8000.

python -m SimpleHTTPServer 8111

Referensi

Pranala Menarik