Re: Python v.s. c++

2005-02-10 Thread news.sydney.pipenetworks.com
xiaobin yang wrote: Hi, if i am already skillful with c++. Is it useful to learn python? thanks! Does skillful mean you can do anything with ease and quick enough for you and your clients ? Are your results bug free and easy to maintain ? If the answer to all this is yes then probably not. If t

Re: Testing web applications

2005-02-11 Thread news.sydney.pipenetworks.com
Achim Domma (Procoders) wrote: Hi, I'm looking for frameworks to make testing web applications - i.e. parsing and filling out forms - easier. I found Puffin, which looks good but not very usable in the current state. I know that I once read about other nice frameworks, but could not find one via

Re: Why doesn't join() call str() on its arguments?

2005-02-17 Thread news.sydney.pipenetworks.com
Nick Vargish wrote: Leo Breebaart <[EMAIL PROTECTED]> writes: That suggests to me an "obvious default" of the kind that exists elsewhere in Python as well. I feel pretty much the opposite... If a non-string-type has managed to get into my list-of-strings, then something has gone wrong and I would

Re: Why doesn't join() call str() on its arguments?

2005-02-17 Thread news.sydney.pipenetworks.com
Fredrik Lundh wrote: "news.sydney.pipenetworks.com" wrote: Nick "Explicit is better than Implicit" Really ? Then why are you using python. Python or most dynamic languages are are so great because of their common sense towards the "implicit". You must have heard o

Re: Why doesn't join() call str() on its arguments?

2005-02-17 Thread news.sydney.pipenetworks.com
Nick Vargish wrote: "news.sydney.pipenetworks.com" <[EMAIL PROTECTED]> writes: Really ? Then why are you using python. Try "import this" at a Python prompt. I didn't invent "Explicit is better than implicit." Thanks for the pointer. Let's see how man

Re: Why doesn't join() call str() on its arguments?

2005-02-17 Thread news.sydney.pipenetworks.com
Duncan Booth wrote: news.sydney.pipenetworks.com wrote: I'm not sure if this has been raised in the thread but I sure as heck always convert my join arguments using str(). When does someone use .join() and not want all arguments to be strings ? Any examples ? This has already been raised

Re: Why doesn't join() call str() on its arguments?

2005-02-17 Thread news.sydney.pipenetworks.com
Jeremy Bowers wrote: On Fri, 18 Feb 2005 01:19:44 +1100, news.sydney.pipenetworks.com wrote: Thanks for the pointer. Let's see how many zen points are for the OP's idea vs against Along with the fact that I agree with Nick that you've seriously miscounted (most of your &q

Re: Why doesn't join() call str() on its arguments?

2005-02-17 Thread news.sydney.pipenetworks.com
Jeremy Bowers wrote: By the way, just to be clear, my infinitesimal's dad can beat up your infinitesimal's dad any day of the week. Ouchit's getting personal :-). Your dad may be infinitesimal but my dad is a complex number (I'm not joking, he really has a real and imaginary part). (Looks li

[OT]: Re: Why doesn't join() call str() on its arguments?

2005-02-17 Thread news.sydney.pipenetworks.com
Nick Vargish wrote: "news.sydney.pipenetworks.com" <[EMAIL PROTECTED]> writes: I always wished computer science was more engineering then philosophy. That way there'd always be an obvious answer. You don't have a lot of experience with philosophers, do you? No Most of

Re: Python becoming less Lisp-like

2005-03-14 Thread news.sydney.pipenetworks.com
I looked for a new language for my hobby programming. I used to use Turbo Pascal for 10 years and then C++ for 6 years. A couple of weeks ago, I narrowed my decision to C#, Ruby, and Python. At the moment, I want to go with Python, but you can definitely see that it's the oldest one: Many parts

Re: Python becoming less Lisp-like

2005-03-15 Thread news.sydney.pipenetworks.com
Bruno Desthuilliers wrote: news.sydney.pipenetworks.com a Ãcrit : I looked for a new language for my hobby programming. I used to use Turbo Pascal for 10 years and then C++ for 6 years. A couple of weeks ago, I narrowed my decision to C#, Ruby, and Python. At the moment, I want to go with

Re: Python becoming less Lisp-like

2005-03-15 Thread news.sydney.pipenetworks.com
Bruno Desthuilliers wrote: Valentino Volonghi aka Dialtone a écrit : Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: It is actually. Ruby's syntax is mostly consistent and coherent, and there is much less special cases than in Python. I'd be glad to know which special cases are you referring to.

Re: Python Debug logging

2005-03-15 Thread news.sydney.pipenetworks.com
gf gf wrote: Is there a simple way to log to a debug console in Python? In .NET, you can Debug.Write(str), which does nothing if there is no debug console open, but, if there is, debugs the message. Is there something similar? Alternatively, is there a very simple log4j type setup? I emphasize ve

Re: Python becoming less Lisp-like

2005-03-15 Thread news.sydney.pipenetworks.com
Torsten Bronger wrote: HallÃchen! [EMAIL PROTECTED] (Paul Boddie) writes: Torsten Bronger <[EMAIL PROTECTED]> wrote: At first, I was very pleased by Python's syntax (and still I am). Then, after two weeks, I learned about descriptors and metaclasses and such and understood nothing (for the first

Re: Python becoming less Lisp-like

2005-03-16 Thread news.sydney.pipenetworks.com
Torsten Bronger wrote: HallÃchen! "news.sydney.pipenetworks.com" <[EMAIL PROTECTED]> writes: Torsten Bronger wrote: [...] I have exactly the same impression, but for me it's the reason why I feel uncomfortable with them. For example, I fear that a skilled package writer

Re: RotatingFileHandler and logging config file

2005-03-16 Thread news.sydney.pipenetworks.com
Rob Cranfill wrote: Kent Johnson wrote: It is in the latest docs. Kent No, it isn't. (But thanks for replying anyway!) http://docs.python.org/lib/logging-config-fileformat.html You're looking in the wrong place. Try http://docs.python.org/lib/node333.html Huy -- http://mail.python.org/mailman/

Re: Python becoming less Lisp-like

2005-03-16 Thread news.sydney.pipenetworks.com
Jeff Shannon wrote: news.sydney.pipenetworks.com wrote: More in relation to the original topic, why can't people just ignore features they don't understand and may never use directly. Because they may get stuck maintaining code that uses those features. Now, I'm generally in

Re: Simple XML-to-Python conversion

2005-03-17 Thread news.sydney.pipenetworks.com
Lutz Horn wrote: [EMAIL PROTECTED] schrieb: I've been searching high and low for a way to simply convert a small XML configuration file to Python data structures. Take a look at Amara (http://uche.ogbuji.net/tech/4Suite/amara/). Lutz Amara rules xml to python conversions. I've used it successfully

Re: RotatingFileHandler and logging config file

2005-03-18 Thread news.sydney.pipenetworks.com
Rob Cranfill wrote: news.sydney.pipenetworks.com wrote: You're looking in the wrong place. Try http://docs.python.org/lib/node333.html which isn't quite the page in question, but leads to the closest pertinent page, http://docs.python.org/lib/logging-config-fileformat.html which *