The Cave

23 Jul

Python Rocks!

Want a web server in 1 line of code?

CD to a directory with files you want served up and type

python -c “import SimpleHTTPServer;SimpleHTTPServer.test()”

Nifty!

Thanks to Gary Robinson for the tip.

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share

Comments are closed.

© 2014 The Cave | Entries (RSS) and Comments (RSS)

GPS Reviews and news from GPS Gazettewordpress logo