Re: Your beloved python features

2010-02-11 Thread jhermann
$ python -c "import this" -- http://mail.python.org/mailman/listinfo/python-list

Re: Your beloved python features

2010-02-10 Thread Ricardo Aráoz
Bruce C. Baker wrote: > "Terry Reedy" wrote in message > news:mailman.1929.1265328905.28905.python-l...@python.org... > >> Iterators, and in particular, generators. >> A killer feature. >> >> Terry Jan Reedy >> >> > > Neither unique to Python. > > And then're the other killer "features" s

Re: Your beloved python features

2010-02-08 Thread Steven D'Aprano
On Mon, 08 Feb 2010 18:07:56 +0100, mk wrote: >> Threads are hard, and many people don't use them at all. You might >> never get an answer, even without alienating people. Complaining after >> six DAYS might be acceptable, if you do it with a sense of humour, but >> after six minutes? > > Well, i

Re: Your beloved python features

2010-02-08 Thread Aahz
In article <28c6967f-7637-4823-aee9-15487e1ce...@o28g2000yqh.googlegroups.com>, Julian wrote: > >I want to design a poster for an open source conference, the local >usergroup will have a table there, and in the past years there were >some people that came to the python-table just to ask "why shou

Re: Your beloved python features

2010-02-08 Thread MRAB
geremy condra wrote: On Mon, Feb 8, 2010 at 12:07 PM, mk wrote: Steven D'Aprano wrote: On Fri, 05 Feb 2010 18:29:07 +0100, mk wrote: Ethan Furman wrote: http://www1.american.edu/academic.depts/cas/econ/faculty/isaac/ choose_python.pdf Choose to get your difficult questions about threads

Re: Your beloved python features

2010-02-08 Thread geremy condra
On Mon, Feb 8, 2010 at 12:07 PM, mk wrote: > Steven D'Aprano wrote: >> >> On Fri, 05 Feb 2010 18:29:07 +0100, mk wrote: >> >>> Ethan Furman wrote: >>> http://www1.american.edu/academic.depts/cas/econ/faculty/isaac/ >> >> choose_python.pdf >>> Choose to get your difficult questions about

Re: Your beloved python features

2010-02-08 Thread mk
Steven D'Aprano wrote: On Fri, 05 Feb 2010 18:29:07 +0100, mk wrote: Ethan Furman wrote: http://www1.american.edu/academic.depts/cas/econ/faculty/isaac/ choose_python.pdf Choose to get your difficult questions about threads in Python ignored. Oh well.. With an attitude like that, you're

Re: Your beloved python features

2010-02-07 Thread Anssi Saari
Julian writes: > I've asked this question at stackoverflow a few weeks ago, and to make > it clear: this should NOT be a copy of the stackoverflow-thread > "hidden features of Python". Thanks for the hint, interesting stuff in there. > For those guys would be a poster quite cool which describes

Re: Your beloved python features

2010-02-06 Thread Schif Schaf
On Feb 5, 8:49 am, Roald de Vries wrote: > My reasoning: I needed a language more powerful than bash, but more   > portable and faster to develop (at least small scripts) than C/C++. So   > I needed a scripting language. Python, Ruby, Perl, Tcl, ...? > > Python seems to be the language with the m

Re: Your beloved python features

2010-02-06 Thread Paul Rubin
Steve Holden writes: >>EveryThing theEveryThing = new EveryThing(); > http://www.artima.com/weblogs/viewpost.jsp?thread=42242 Pretty cool! I see your blog post criticizing Java's lack of type inference, and then immediately adjacent to the post there's a banner ad for a book called "Programm

Re: Your beloved python features

2010-02-06 Thread Steve Holden
Bruno Desthuilliers wrote: > apeach a écrit : >> I love intuitive type recognition. >> >> no need to 'DIM everything AS Integer' etc.! >> > > not to mention the ever hilarious (that is, when you don't have to > maintain it) typical Java idiom: > >EveryThing theEveryThing = new EveryThing(); >

Re: Your beloved python features

2010-02-06 Thread Bruno Desthuilliers
apeach a écrit : I love intuitive type recognition. no need to 'DIM everything AS Integer' etc.! not to mention the ever hilarious (that is, when you don't have to maintain it) typical Java idiom: EveryThing theEveryThing = new EveryThing(); -- http://mail.python.org/mailman/listinfo/p

Re: Your beloved python features

2010-02-06 Thread Bruce C. Baker
"Terry Reedy" wrote in message news:mailman.1929.1265328905.28905.python-l...@python.org... > Iterators, and in particular, generators. > A killer feature. > > Terry Jan Reedy > Neither unique to Python. And then're the other killer "features" superfluous ":"s and rigid formatting! -- http

Re: Your beloved python features

2010-02-05 Thread Tim Chase
Steven D'Aprano wrote: Trailing spaces and tabs, on the other hand, *are* invisible. But they're also insignificant, and so don't matter. (Except for one little tiny corner case, which I shall leave as an exercise for the advanced reader.) Drat, now I'm gonna be up at odd hours tonight dredg

Re: Your beloved python features

2010-02-05 Thread Steven D'Aprano
On Fri, 05 Feb 2010 15:22:25 -0600, Bruce C. Baker wrote: > GvR got it right when he discarded the superfluous semicolons from the > ends of statements--and then he ADDS superfluous colons to the ends of > control statements? They're not superfluous, they have a real, practical use. > It will

Re: Your beloved python features

2010-02-05 Thread Steven D'Aprano
On Fri, 05 Feb 2010 18:29:07 +0100, mk wrote: > Ethan Furman wrote: > >> http://www1.american.edu/academic.depts/cas/econ/faculty/isaac/ choose_python.pdf >> >> > Choose to get your difficult questions about threads in Python ignored. > Oh well.. With an attitude like that, you're damn lucky i

Re: Your beloved python features

2010-02-05 Thread CM
> GvR got it right when he discarded the superfluous semicolons from the ends > of statements--and then he ADDS superfluous colons to the ends of control > statements? It will probably be as much of a shock to you as it was to me > when I learned after studying parsing that colons, semicolons, "th

Re: Your beloved python features

2010-02-05 Thread Bruce C. Baker
"George Sakkis" wrote in message news:de06116c-e77c-47c4-982d-62b48bca5...@j31g2000yqa.googlegroups.com... I'll give the benefit of doubt and assume you're joking rather than trolling. George * Not trolling, my friend! GvR got it

Re: Your beloved python features

2010-02-05 Thread mk
Julian wrote: For those guys would be a poster quite cool which describes the most popular and beloved python features. Dictionaries. A workhorse of Python, by far the most useful data structure. -- http://mail.python.org/mailman/listinfo/python-list

Re: Your beloved python features

2010-02-05 Thread mk
Ethan Furman wrote: http://www1.american.edu/academic.depts/cas/econ/faculty/isaac/choose_python.pdf Choose to get your difficult questions about threads in Python ignored. Oh well.. -- http://mail.python.org/mailman/listinfo/python-list

Re: Your beloved python features

2010-02-05 Thread Bruno Desthuilliers
Jean-Michel Pichavant a écrit : Bruno Desthuilliers wrote: My all-time favorite Python feature : it fits my brain. Python is simple ... no offense Bruno :D !-) But FWIW, that's exactly the point : even a stoopid like me can manage to learn and use Python, and proceed to write working apps

Re: Your beloved python features

2010-02-05 Thread Grant Edwards
On 2010-02-04, Julian wrote: > I've asked this question at stackoverflow a few weeks ago, and > to make it clear: this should NOT be a copy of the > stackoverflow-thread "hidden features of Python". > > I want to design a poster for an open source conference, the > local usergroup will have a tab

Re: Your beloved python features

2010-02-05 Thread Jean-Michel Pichavant
Bruno Desthuilliers wrote: Julian a écrit : Hello, I've asked this question at stackoverflow a few weeks ago, and to make it clear: this should NOT be a copy of the stackoverflow-thread "hidden features of Python". I want to design a poster for an open source conference, the local usergroup wi

Re: Your beloved python features

2010-02-05 Thread Bruno Desthuilliers
Julian a écrit : Hello, I've asked this question at stackoverflow a few weeks ago, and to make it clear: this should NOT be a copy of the stackoverflow-thread "hidden features of Python". I want to design a poster for an open source conference, the local usergroup will have a table there, and i

Re: Your beloved python features

2010-02-05 Thread Roald de Vries
On Feb 5, 2010, at 12:03 AM, Julian wrote: Hello, I've asked this question at stackoverflow a few weeks ago, and to make it clear: this should NOT be a copy of the stackoverflow-thread "hidden features of Python". I want to design a poster for an open source conference, the local usergroup wil

Re: Your beloved python features

2010-02-05 Thread bartc
"R Fritz" wrote in message news:e97ff208-d08e-4934-8e38-a40d668cd...@l24g2000prh.googlegroups.com... My favorite feature is its readability. It's as near to pseudo-code as any language we have, and that's valuable in open source projects or when I return to code to modify it. That might be

Re: Your beloved python features

2010-02-05 Thread Daniel Fetchinson
>> I've asked this question at stackoverflow a few weeks ago, and to make >> it clear: this should NOT be a copy of the stackoverflow-thread >> "hidden features of Python". >> >> I want to design a poster for an open source conference, the local >> usergroup will have a table there, and in the past

Re: Your beloved python features

2010-02-05 Thread Jean-Michel Pichavant
Ethan Furman wrote: Julian wrote: Hello, I've asked this question at stackoverflow a few weeks ago, and to make it clear: this should NOT be a copy of the stackoverflow-thread "hidden features of Python". I want to design a poster for an open source conference, the local usergroup will have a

Re: Your beloved python features

2010-02-05 Thread Martin P. Hellwig
On 02/04/10 23:03, Julian wrote: For those guys would be a poster quite cool which describes the most popular and beloved python features. That it is ego-orientated programming ;-) http://mail.python.org/pipermail/python-announce-list/2009-April/007419.html -- mph -- http://mail.python.org/m

Re: Your beloved python features

2010-02-05 Thread Ethan Furman
Julian wrote: Hello, I've asked this question at stackoverflow a few weeks ago, and to make it clear: this should NOT be a copy of the stackoverflow-thread "hidden features of Python". I want to design a poster for an open source conference, the local usergroup will have a table there, and in t

Re: Your beloved python features

2010-02-04 Thread George Sakkis
On Feb 5, 2:45 am, "Bruce C. Baker" wrote: > "Terry Reedy" wrote in message > > news:mailman.1929.1265328905.28905.python-l...@python.org... > > > Iterators, and in particular, generators. > > A killer feature. > > > Terry Jan Reedy +1, iterators/generators is among Python's best features for m

Re: Your beloved python features

2010-02-04 Thread Paul Rubin
Julian writes: > I want to design a poster for an open source conference, the local > usergroup will have a table there, and in the past years there were > some people that came to the python-table just to ask "why should I > use python?". - Very easy to learn, at least for the not-too-hairy frag

Re: Your beloved python features

2010-02-04 Thread Xavier Ho
Personally, I love the fact that I can type in 2**25 in the intepreter without crashing my machine. ;) Cheers, -Xav -- http://mail.python.org/mailman/listinfo/python-list

Re: Your beloved python features

2010-02-04 Thread Arnaud Delobelle
On 4 Feb, 23:03, Julian wrote: > Hello, > > I've asked this question at stackoverflow a few weeks ago, and to make > it clear: this should NOT be a copy of the stackoverflow-thread > "hidden features of Python". > > I want to design a poster for an open source conference, the local > usergroup wil

Re: Your beloved python features

2010-02-04 Thread Sean DiZazzo
On Feb 4, 3:03 pm, Julian wrote: > Hello, > > I've asked this question at stackoverflow a few weeks ago, and to make > it clear: this should NOT be a copy of the stackoverflow-thread > "hidden features of Python". > > I want to design a poster for an open source conference, the local > usergroup w

Re: Your beloved python features

2010-02-04 Thread Terry Reedy
Iterators, and in particular, generators. A killer feature. Terry Jan Reedy -- http://mail.python.org/mailman/listinfo/python-list

Re: Your beloved python features

2010-02-04 Thread Paul Rubin
Julian writes: > I want to design a poster for an open source conference, the local > usergroup will have a table there, and in the past years there were > some people that came to the python-table just to ask "why should I > use python?". It's terrible, but all the alternatives are even worse. ;

Re: Your beloved python features

2010-02-04 Thread R Fritz
My favorite feature is its readability. It's as near to pseudo-code as any language we have, and that's valuable in open source projects or when I return to code to modify it. -- http://mail.python.org/mailman/listinfo/python-list

Your beloved python features

2010-02-04 Thread Julian
Hello, I've asked this question at stackoverflow a few weeks ago, and to make it clear: this should NOT be a copy of the stackoverflow-thread "hidden features of Python". I want to design a poster for an open source conference, the local usergroup will have a table there, and in the past years th