On Wed, Mar 25, 2009 at 5:19 PM, Noufal Ibrahim <nou...@gmail.com> wrote: > 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
AH. I found it to be a life saver, which of course is determined by the factors on which your life depends at any point of time :) -Amit > > 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 > -- http://amitksaha.blogspot.com http://amitsaha.in.googlepages.com/ *Bangalore Open Java Users Group*:http:www.bojug.in "Recursion is the basic iteration mechanism in Scheme" --- http://c2.com/cgi/wiki?TailRecursion _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers