I found this via. hacker news.
http://commandlinefu.com/

It's a repository of command line tricks.

I found a python one
python -m SimpleHTTPServer

which serves the current directory on port 8000

I've not really seen many python one liners. The language culture and
the indentation requirement discourage that kind of thing I imagine.


-- 
~noufal
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to