[BangPypers] Favorite tips/techniques
Anand B Pillai
anandpillai at letterboxes.org
Tue Sep 10 12:06:06 CEST 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 10 September 2013 03:28 PM, Noufal Ibrahim wrote:
> "Me at Bibhas" <me at bibhas.in> writes:
>
>> Don't know if I can call it a snippet, But this command on
>> terminal -
>>
>> $ python -m SimpleHTTPServer 8080
>
> Similar but less well known.
>
> Command line ftp client (similar to ftp(1)) python -m ftplib
> ftp.gnu.org
>
> Command line mail client (similar to mail(1)) but needs a local
> MTA running python -m smtplib
>
> Command line IMAP client (similar mutt -f imap://...) python -m
> imaplib -d5 noufal at imap.gmail.com
>
> Command line POP client python -m poplib pop.gmail.com
>
> There are probably others too.
>
$ python -m webbrowser -t http://www.python.org
>
> [...]
>
>
- --
Regards,
- --Anand
-
--------------------------------------------------------------------------------------
Software Architect/Consultant
anandpillai at letterboxes.org
Please note my updated email address <anandpillai at letterboxes.org>.
Kindly update your address books.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJSLu8OAAoJEMTxYeOp9eaoLWgH/1EInQZDF8aqfDxiWzYICv+M
82UH8FHCOTZjtj9KLfKtguc4da95bopJZyTSA+24aHKMKfdk082drLULgp6AiUT4
FwSFESwmHhTmiLQwLSI22nFb/NLnl7XaGX33Png+zBhN3fZDSEt23YCOx00MXKTO
Lkb2q8g2oFcB8CisGQ0gIDr/oPzskhe8DffHV8eo7+7T/EDBv6mHoiT1MmLOQqJu
uD0NbHL9RNMsi3I70cvAnHFkjLo9cVqMWnDQlN1x9KnCQMdJJ5n2JsNRn1cdG12i
A1jw0D93mDeA6GmV+5cAQ8ZhBnHkuyAlnJWBHDB18y/Nn8khw6d/weFkjldegNM=
=+nso
-----END PGP SIGNATURE-----
More information about the BangPypers
mailing list