Re: Fredrik Lundh

2005-05-08 Thread D H
Sakesun Roykiattisak wrote: > IMHO, Pythonware.com does not have to be about python. It can be > anything the maintainer want it to be. > > Get the point ? You successfully repeated my own argument, so yes, I get the point. -- http://mail.python.org/mailman/listinfo/python-list

Re: Fredrik Lundh

2005-05-08 Thread D H
Robert Kern wrote: > The Daily Python-URL isn't obligated to link to *anything*. I never suggested it was. -- http://mail.python.org/mailman/listinfo/python-list

Re: Case Sensitive, Multiline Comments

2005-05-29 Thread D H
Elliot Temple wrote: > Hi I have two questions. Could someone explain to me why Python is > case sensitive? I find that annoying. I do too. As you've found, the only reason is because it is, and it is too late to change (it was even too late back in 1999 when it was considered by Guido). I

Re: Case Sensitive, Multiline Comments

2005-05-30 Thread D H
Roy Smith wrote: > In article <[EMAIL PROTECTED]>, D H <[EMAIL PROTECTED]> wrote: > > >>Elliot Temple wrote: >> >>>Hi I have two questions. Could someone explain to me why Python is >>>case sensitive? I find that annoying. >> >&

Re: Best Web dev language

2005-06-11 Thread D H
Jon Slaughter wrote: > I'm trying to get into web development for creating a professional web site > and I'm confused on which language I should use. I've read some comparisons > between the major languages and I was thinking that python might be the way > to go for the most powerful and genera

Re: case/switch statement?

2005-06-13 Thread D H
Peter Hansen wrote: > With a case statement, on the other hand, you *know* that it must be > just simple conditionals (a series of x == some_constant tests), so you > don't need to look at all the cases, just the one that interests you. Since you and Steve Holden agree that a case statement is u

Re: The need to put "self" in every method

2005-06-13 Thread D H
Steve Holden wrote: > Fernando M. wrote: > >> Hi, >> >> i was just wondering about the need to put "self" as the first >> parameter in every method a class has because, if it's always needed, >> why the obligation to write it? couldn't it be implicit? >> >> Or is it a special reason for this being

Re: What is different with Python ?

2005-06-13 Thread D H
Philippe C. Martin wrote: > Yet for the first time I get (most) of my questions answered by a language I > did not know 1 year ago. ^^ You're in the Python honeymoon stage. -- http://mail.python.org/mailman/listinfo/python-list

Re: What is different with Python ?

2005-06-13 Thread D H
Andrea Griffini wrote: > On Sat, 11 Jun 2005 21:52:57 -0400, Peter Hansen <[EMAIL PROTECTED]> > wrote: > > >>I think new CS students have more than enough to learn with their >>*first* language without having to discover the trials and tribulations >>of memory management (or those other things

Re: What is different with Python ?

2005-06-13 Thread D H
Andrea Griffini wrote: > On Mon, 13 Jun 2005 22:23:39 +0200, Bruno Desthuilliers > <[EMAIL PROTECTED]> wrote: > > >>Being familiar with >>fondamental *programming* concepts like vars, branching, looping and >>functions proved to be helpful when learning C, since I only had then to >>focus on p

Re: case/switch statement?

2005-06-17 Thread D H
Peter Hansen wrote: > D H wrote: > >> Peter Hansen wrote: >> >>> With a case statement, on the other hand, you *know* that it must be >>> just simple conditionals (a series of x == some_constant tests), so >>> you don't need to look at a

Re: What is different with Python ?

2005-06-17 Thread D H
Peter Hansen wrote: >> But apparently some guru I greatly respect thinks so >> (I'm not kidding, http://www.spellen.org/youcandoit/). > > > With respect to the author, and an understanding that there is probably > much that didn't go into his self-description (add "about.htm" to the > above URL

Re: Back to the future - python to C++ advice wanted

2005-06-17 Thread D H
George Sakkis wrote: > During the last 18 months or so I have indulged in the joy of learning > and using python for almost everything, but I may have to go back to > C/C++ at work. Suddenly I found myself transliterating (or translating > at least) common python idioms and patterns, looking for li

Re: John Bokma harassment

2006-05-24 Thread D H
Kay Schluehr wrote: > To make a witty comment: > Xah is the star, who undresses his mind. > But good and sensitive people don't like liking to > contribute in those nasty battles and believe their time is deserved to > something less wastefull. > I mildly disagree with attitude and tend to > t

Go "help" the perl list instead Fredrik Lundh

2006-05-25 Thread D H
Fredrik Lundh wrote: > vbgunz wrote: > >>> I have new a list , when it hava large number of values, I wonna to >>> delete all the values in it,how to do? >> >> something like this will probably help. >> >> x = [1,2,3,4,5,6,7,8,9] >> y = x >> >> list([x.pop() for z in xrange(len(x))]) >> >> print x

<    1   2