Re: What python can NOT do?

2009-08-29 Thread Hendrik van Rooyen
On Saturday 29 August 2009 02:14:39 Tim Chase wrote: > I've also been sorely disappointed by Python's ability to make a > good chocolate cream silk pie. This is not pythons fault - it is yours, for failing to collaborate with a good hardware designer for the robotics. - Hendrik -- http://mail

Re: comparison on list yields surprising result

2009-08-29 Thread Hendrik van Rooyen
On Friday 28 August 2009 21:00:31 Dr. Phillip M. Feldman wrote: > In [21]: x > Out[21]: [1, 2, 3, 5] > > In [22]: x>6 > Out[22]: True > > Is this a bug? No, it is a feature, so that you can use sorted on this: [[1,2,3,4,5],6] - Hendrik -- http://mail.python.org/mailman/listinfo/python-list

Re: Object's nesting scope

2009-08-29 Thread zaur
On 29 авг, 08:37, "Gabriel Genellina" wrote: > En Fri, 28 Aug 2009 15:25:55 -0300, zaur escribió: > > > > > On 28 авг, 16:07, Bruno Desthuilliers > 42.desthuilli...@websiteburo.invalid> wrote: > >> zaur a écrit : > > >> > Ok. Here is a use case: object initialization. > > >> > For example, > > >

Re: (Simple?) Unicode Question

2009-08-29 Thread Thorsten Kampe
* Rami Chowdhury (Thu, 27 Aug 2009 09:44:41 -0700) > > Further, does anything, except a printing device need to know the > > encoding of a piece of "text"? Python needs to know if you are processing the text. > I may be wrong, but I believe that's part of the idea between separation > of strin

Python Noob - gui module, book, annoying questions

2009-08-29 Thread Pherdnut
I want to write cross-platform stuff. Any opinions on the best GUI module for that? I like a good juicy, but concise book for reading on my commute downtown. I was thinking of checking Python in a Nutshell. Good? Bad? Better? Is 3.0+ more object based? I'm actually an FED and one of the things I

Re: Monitoring stdout in (more or less) real time

2009-08-29 Thread Gabriel Genellina
En Sat, 29 Aug 2009 03:28:26 -0300, escribió: Hello to everyone! I am making a program that will be a GTK+ frontend to ffmpeg. Naturally, one of the main functions is parsing ffmpeg's output. It's pretty simple when I, for example, retrieve information about a file (the program finishes and I r

Re: Overriding iadd for dictionary like objects

2009-08-29 Thread Steven D'Aprano
On Sat, 29 Aug 2009 01:23:59 -0400, Joshua Judson Rosen wrote: > Robert Kern writes: >> >> On 2009-08-28 16:42 PM, Terry Reedy wrote: >> > Carl Banks wrote: >> > >> > > I don't think it needs a syntax for that, but I'm not so sure a >> > > method to modify a value in place with a single key looku

Monitoring stdout in (more or less) real time

2009-08-29 Thread ivanko . rus
Hello to everyone! I am making a program that will be a GTK+ frontend to ffmpeg. Naturally, one of the main functions is parsing ffmpeg's output. It's pretty simple when I, for example, retrieve information about a file (the program finishes and I read the output). But it also needs to parse

<    1   2