[BangPypers] Command line goodies

Anand Balachandran Pillai abpillai at gmail.com
Wed Mar 25 14:10:53 CET 2009


On Wed, Mar 25, 2009 at 6:29 PM, Anand Balachandran Pillai
<abpillai at gmail.com> wrote:
> On Wed, Mar 25, 2009 at 5:19 PM, Noufal Ibrahim <noufal at 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 at python.org
>> http://mail.python.org/mailman/listinfo/bangpypers
>>
>
>
>
> --
> -Anand
>



-- 
-Anand


More information about the BangPypers mailing list