[BangPypers] MIT moving from Scheme to Python

2009-03-25 Thread Indrajith K
http://blog.snowtide.com/2009/03/24/why-mit-now-uses-python-instead-of-scheme-for-its-undergraduate-cs-program ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Command line goodies

2009-03-25 Thread Noufal Ibrahim
> I don't agree. It is painful to write command liners with python. My thoughts exactly. Although I like the examples the other Anand gave. :) As for code one-liners, the indentation rules do contain some obfuscation. The language culture that emphasises readability over tricks is also a nail in

Re: [BangPypers] Command line goodies

2009-03-25 Thread Noufal Ibrahim
> I don't agree. It is painful to write command liners with python. My thoughts exactly. Although I like the examples the other Anand gave. :) As for code one-liners, the indentation rules do contain some obfuscation. The language culture that emphasises readability over tricks is also a nail in

Re: [BangPypers] Command line goodies

2009-03-25 Thread Anand Chitipothu
> Really ? FYI, Python is full of one-liners both of the command-line > variety and the code variety. I don't agree. It is painful to write command liners with python. Look at this perl one liner that replaces .py with .txt. ls *.py | perl -ne 's/.py$/.txt/; print $_;' Try writing it in Python

Re: [BangPypers] Command line goodies

2009-03-25 Thread Noufal Ibrahim
Looks like I need to get out more often. :) Thanks. :) On 3/25/09, Anand Balachandran Pillai wrote: > On Wed, Mar 25, 2009 at 6:29 PM, Anand Balachandran Pillai > wrote: >> On Wed, Mar 25, 2009 at 5:19 PM, Noufal Ibrahim wrote: >>> I found this via. hacker news. >>> http://commandlinefu.com/ >

Re: [BangPypers] Command line goodies

2009-03-25 Thread Anand Balachandran Pillai
On Wed, Mar 25, 2009 at 6:29 PM, Anand Balachandran Pillai wrote: > On Wed, Mar 25, 2009 at 5:19 PM, Noufal Ibrahim 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 >> >>

Re: [BangPypers] Command line goodies

2009-03-25 Thread Anand Balachandran Pillai
On Wed, Mar 25, 2009 at 5:19 PM, Noufal Ibrahim 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 > > I've not really seen many

Re: [BangPypers] Command line goodies

2009-03-25 Thread Noufal Ibrahim
On Wed, Mar 25, 2009 at 5:37 PM, Venkatraman S wrote: > > > On Wed, Mar 25, 2009 at 5:19 PM, Noufal Ibrahim wrote: >> >> I've not really seen many python one liners. The language culture and >> the indentation requirement discourage that kind of thing I imagine. > > Eh!? not true AT ALL - hang ar

Re: [BangPypers] Command line goodies

2009-03-25 Thread Venkatraman S
On Wed, Mar 25, 2009 at 5:19 PM, Noufal Ibrahim wrote: > > I've not really seen many python one liners. The language culture and > the indentation requirement discourage that kind of thing I imagine. > Eh!? not true AT ALL - hang around #python. -V- http://twitter.com/venkasub _

Re: [BangPypers] Command line goodies

2009-03-25 Thread Amit Saha
On Wed, Mar 25, 2009 at 5:19 PM, Noufal Ibrahim 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 s

[BangPypers] Command line goodies

2009-03-25 Thread Noufal Ibrahim
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 di

Re: [BangPypers] Face to face meeting for Python conference

2009-03-25 Thread Noufal Ibrahim
Due to PyCon and other things, I don't think it will be possible to get everyone for 'proper' meeting till mid April or so. In order to discuss the conference and related plans, I think there should be a good number of people attending. If not, it'll be pretty pointless. However, I don't think we