On Wed, Mar 25, 2009 at 6:29 PM, Anand Balachandran Pillai <abpil...@gmail.com> wrote: > 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 A few more
Prints the year calendar, like the "cal" command. $ python -m calendar Works as a command line ftp client $ python -m ftplib Sends email using localhost smtp server as relay. $ python -m smtplib These are the ones I know. There might be many more :-) --Anand > >> >> >> -- >> ~noufal >> _______________________________________________ >> BangPypers mailing list >> BangPypers@python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > > -- > -Anand > -- -Anand _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers