Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Cameron Simpson
On 20Jul2011 19:06, rantingrick wrote: | | RE: *Tim Chase changes topic and talks smack* | | On Jul 20, 8:38 pm, Tim Chase wrote: | > On 07/20/2011 08:17 PM, rantingrick wrote: | > | > > RE: *Ben Finney changes thread subject* | > | > > Please everyone, do not change the subject of someone's th

Re: Changing subject sucks. Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Steven D'Aprano
On Thu, 21 Jul 2011 12:34 pm Phlip wrote: > On Jul 20, 6:17 pm, rantingrick wrote: >> RE: *Ben Finney changes thread subject* >> >> Please everyone, do not change the subject of someone's thread because >> it's considered rude. Thank you. > > No it isn't. Rambling off on a new topic under the wr

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread alex23
rantingrick wrote: > What about the etiquette of staying on topic? Such as raising your personal opinion of online etiquette in a thread on GUI toolkits? As always, there's what you say, and there's what you do, and never the twain shall meet. -- http://mail.python.org/mailman/listinfo/python-l

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread alex23
rantingrick wrote: > The old "reinvent the wheel" argument is only valid when wheels > already exists. Currently we have triangles (or maybe pentagons) but > no wheels. No, currently we have a small handful of people who feel the wheels are triangles but have done nothing more than complain about

Changing subject sucks. Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Phlip
On Jul 20, 6:17 pm, rantingrick wrote: > RE: *Ben Finney changes thread subject* > > Please everyone, do not change the subject of someone's thread because > it's considered rude. Thank you. No it isn't. Rambling off on a new topic under the wrong subject is rude. -- http://mail.python.org/mailm

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread rantingrick
RE: *Tim Chase changes topic and talks smack* On Jul 20, 8:38 pm, Tim Chase wrote: > On 07/20/2011 08:17 PM, rantingrick wrote: > > > RE: *Ben Finney changes thread subject* > > > Please everyone, do not change the subject of someone's thread because > > it's considered rude. Thank you. > > Righ

Re: What Programing Language are the Largest Website Written In?

2011-07-20 Thread Michael Steinfeld
2011/7/20 igotmumps : > On Jul 13, 1:04 pm, ccc31807 wrote: >> On Jul 12, 7:54 am, Xah Lee wrote: >> >> > maybe this will be of interest. >> >> > 〈What Programing Language Are the Largest Website Written >> > In?〉http://xahlee.org/comp/website_lang_popularity.html >> >> About five years ago, I d

Re: changing thread topics (was: I am fed up with Python GUI toolkits...)

2011-07-20 Thread Tim Chase
On 07/20/2011 08:17 PM, rantingrick wrote: RE: *Ben Finney changes thread subject* Please everyone, do not change the subject of someone's thread because it's considered rude. Thank you. Right...do not change the subject because it's considered rude. Change it because the topic drifted from

Re: What Programing Language are the Largest Website Written In?

2011-07-20 Thread igotmumps
On Jul 13, 1:04 pm, ccc31807 wrote: > On Jul 12, 7:54 am, Xah Lee wrote: > > > maybe this will be of interest. > > > 〈What Programing Language Are the Largest Website Written > > In?〉http://xahlee.org/comp/website_lang_popularity.html > > About five years ago, I did some pretty extensive researc

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread rantingrick
RE: *Ben Finney changes thread subject* Please everyone, do not change the subject of someone's thread because it's considered rude. Thank you. -- http://mail.python.org/mailman/listinfo/python-list

Tkinter in Python has native widgets (was: I am fed up with Python GUI toolkits...)

2011-07-20 Thread Ben Finney
Phlip writes: > Tkinter sucks because it looks like an enfeebled Motif 1980s dawn-of- > GUIs scratchy window with grooves and lines everywhere. Applications have been written that look like that, sure. Many of them were *written* in the 1980s and 1990s, so the wonder is not how they look but tha

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread sturlamolden
On 21 Jul, 00:52, Phlip wrote: > Oh, and you can TDD it, too... No, I can't TDD with Tkinter. All my tests fail when there is no OpenGL support (Togl is gone). For TDD to work, the tests must have a chance of passing. -- http://mail.python.org/mailman/listinfo/python-list

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Phlip
On Jul 20, 3:13 pm, sturlamolden wrote: > On 20 Jul, 22:58, Phlip wrote: > > > Tkinter sucks because it looks like an enfeebled Motif 1980s dawn-of- > > GUIs scratchy window with grooves and lines everywhere. > > The widget set is limited compared to GTK or Qt, though it has the > most common GU

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread sturlamolden
On 20 Jul, 22:58, Phlip wrote: > Tkinter sucks because it looks like an enfeebled Motif 1980s dawn-of- > GUIs scratchy window with grooves and lines everywhere. And using it with OpenGL has been impossible since Python 2.2 (or whatever). -- http://mail.python.org/mailman/listinfo/python-list

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Corey Richardson
Excerpts from Phlip's message of Wed Jul 20 16:58:08 -0400 2011: > On Jul 20, 10:32am, rantingrick wrote: > > > Steven, you have no buisness offering advice on Tkinter since you > > yourself have proclaimed that YOU NEVER used the module and never > > will. Stick to what you know please. > > All

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread sturlamolden
On 20 Jul, 22:58, Phlip wrote: > Tkinter sucks because it looks like an enfeebled Motif 1980s dawn-of- > GUIs scratchy window with grooves and lines everywhere. The widget set is limited compared to GTK or Qt, though it has the most common GUI controls, and it does not look that bad with the rec

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Phlip
On Jul 20, 10:32 am, rantingrick wrote: > Steven, you have no buisness offering advice on Tkinter since you > yourself have proclaimed that YOU NEVER used the module and never > will. Stick to what you know please. Allow me. Tkinter sucks because it looks like an enfeebled Motif 1980s dawn-of-

Re: a little parsing challenge ☺

2011-07-20 Thread Jason Earl
On Wed, Jul 20 2011, Randal L. Schwartz wrote: >> "Uri" == Uri Guttman writes: > > Uri> a better parsing challenge. how can you parse usenet to keep this troll > Uri> from posting on the wrong groups on usenet? first one to do so, wins the > Uri> praise of his peers. 2nd one to do it makes su

Re: list(), tuple() should not place at "Built-in functions" in documentation

2011-07-20 Thread Terry Reedy
On 7/20/2011 2:21 AM, Stefan Behnel wrote: Terry Reedy, 19.07.2011 18:31: Chapter 5 is mostly about the behavior of built-in class instances. For some classes, like range, instances only come from class calls and the behavior of instances is intimately tied to the constructor arguments. Having t

Re: Pythonic way with more than one max possible

2011-07-20 Thread CM
Thanks, everyone. Very helpful! Che -- http://mail.python.org/mailman/listinfo/python-list

Re: a little parsing challenge ☺

2011-07-20 Thread Randal L. Schwartz
> "Uri" == Uri Guttman writes: Uri> a better parsing challenge. how can you parse usenet to keep this troll Uri> from posting on the wrong groups on usenet? first one to do so, wins the Uri> praise of his peers. 2nd one to do it makes sure the filter stays in Uri> place. all the rest will be

Re: a little parsing challenge ☺

2011-07-20 Thread rusi
On Jul 20, 9:31 pm, "Uri Guttman" wrote: > a better parsing challenge. how can you parse usenet to keep this troll > from posting on the wrong groups on usenet? first one to do so, wins the > praise of his peers. 2nd one to do it makes sure the filter stays in > place. all the rest will be rewarde

A little complex usage of Beautiful Soup Parsing Help!

2011-07-20 Thread SAKTHEESH
I am using Beautiful Soup to parse a html to find all text that is Not contained inside any anchor elements I came up with this code which finds all links within href but not the other way around. How can I modify this code to get only plain text using Beautiful Soup, so that I can do some find a

ANN: ActivePython 3.2.1.2 is now available

2011-07-20 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 3.2.1.2, a complete, ready-to-install binary distribution of Python 3.2. http://www.activestate.com/activepython/downloads What's New in ActivePython-3.2.1.2 == (combining with the very recently released 3.2.1.1)

Re: Geodetic functions library GeoDLL 32 Bit and 64 Bit

2011-07-20 Thread Lutz Horn
Hi, do you think this is the right place to advertise proprietary and commercial software? Lutz -- http://mail.python.org/mailman/listinfo/python-list

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread rantingrick
On Jul 19, 11:28 pm, Steven D'Aprano wrote: > > Have you tried Tkinter version 8.0 or better, which offers a native look and > feel? Steven, you have no buisness offering advice on Tkinter since you yourself have proclaimed that YOU NEVER used the module and never will. Stick to what you know ple

Re: (Maybe off topic) Can someone explain what a finite state machine is?

2011-07-20 Thread rusi
On Jul 19, 6:32 pm, Matty Sarro wrote: > Hey everyone. I am currently reading through an RFC, and it mentions > that a client and server half of a transaction are embodied by finite > state machines. I am reading through the wikipedia article for finite > state machines, and sadly it's going a bit

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread sturlamolden
On 20 Jul, 06:28, Steven D'Aprano wrote: > Have you tried Tkinter version 8.0 or better, which offers a native look and > feel? Python 2.7.2 |EPD 7.1-1 (64-bit)| (default, Jul 3 2011, 15:34:33) [MSC v.1500 64 bit (AMD64)] on win32 Type "packages", "demo" or "enthought" for more information. >>>

Re: a little parsing challenge ☺

2011-07-20 Thread Uri Guttman
a better parsing challenge. how can you parse usenet to keep this troll from posting on the wrong groups on usenet? first one to do so, wins the praise of his peers. 2nd one to do it makes sure the filter stays in place. all the rest will be rewarded by not seeing the troll anymore. anyone who ac

SMS

2011-07-20 Thread TERESA G
One method you can use is to connect to an SMS API provider from your web application, which will enable you to send SMS via an internet connection, typically using a protocol like HTTP; You can try Nexmo SMS API, it supports HTTP REST and SMPP and we have documentation published in our website wi

Re: total_ordering behaviour

2011-07-20 Thread risboo6909
On Jul 20, 7:39 pm, Ian Kelly wrote: > On Wed, Jul 20, 2011 at 4:18 AM, risboo6909 wrote: > > Hello all, > > > I've noticed some strange behaviour of functools.total_ordering > > decorator, at least it seems strange to me. > > Looks like this is already known and fixed as of March: > > http://bug

Re: problem in compiling the module in VC2010

2011-07-20 Thread Christian Heimes
Am 20.07.2011 17:33, schrieb llwa...@gmail.com: > Hi all, > I am compiling the example with MCVS2010 VC 2010 is not officially supported. Christian -- http://mail.python.org/mailman/listinfo/python-list

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread sturlamolden
On 20 Jul, 17:21, Thomas Jollans wrote: > Don't know about Mac, I was under the impression that GTK was fine on > Windows these days. GTK looks awful on Windows, requires a dozen of installers (non of which comes from a single source), is not properly stabile (nobody cares?), and does not work o

Re: total_ordering behaviour

2011-07-20 Thread Ian Kelly
On Wed, Jul 20, 2011 at 4:18 AM, risboo6909 wrote: > Hello all, > > I've noticed some strange behaviour of functools.total_ordering > decorator, at least it seems strange to me. Looks like this is already known and fixed as of March: http://bugs.python.org/issue10042 -- http://mail.python.org/m

problem in compiling the module in VC2010

2011-07-20 Thread llwaeva
Hi all, I am compiling the example with MCVS2010 #include "Python.h" static PyObject * ex_foo(PyObject *self, PyObject *args) { printf("Hello, world\n"); Py_INCREF(Py_None); return Py_None; } static PyMethodDef example_methods[] = { {"foo", ex_foo, METH_VARARGS, "foo() doc stri

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Thomas Jollans
On 20/07/11 15:47, sturlamolden wrote: > On 20 Jul, 11:59, Thomas Jollans wrote: > >> I wonder - what do you think of GTK+? > > PyGTK with GLADE is the easier to use, but a bit awkward looking on > Windows and Mac. (Not to mention the number of dependencies that must > be installed, inclusing a

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread rantingrick
On Jul 20, 9:27 am, sturlamolden wrote: > On 20 Jul, 16:17, Mel wrote: > > > OTOH, if you intend to re-use the Dialog object, it's not a memory leak. > > It cannot be reused if you don't have any references pointing to it. > Sure it is nice to have dialogs that can be hidden and re-displayed, > b

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread sturlamolden
On 20 Jul, 13:08, Tim Chase wrote: > http://xkcd.com/927/ > > :-) Indeed. -- http://mail.python.org/mailman/listinfo/python-list

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread sturlamolden
On 20 Jul, 13:04, Adam Tauno Williams wrote: > > 3. Instances of extension types can clean themselves up on > > deallocation. No parent-child ownership model to mess things up. No > > manual clean-up. Python does all the reference counting we need. > > NEVER GOING TO HAPPEN.  UI's don't work that

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread sturlamolden
On 20 Jul, 16:17, Mel wrote: > OTOH, if you intend to re-use the Dialog object, it's not a memory leak. It cannot be reused if you don't have any references pointing to it. Sure it is nice to have dialogs that can be hidden and re-displayed, but only those that can be accessed again. tp_dealloc

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread sturlamolden
On 20 Jul, 11:59, Thomas Jollans wrote: > Okay, I haven't used SWT yet: manual memory management? Java is GC! > > It is perfectly reasonable to be required to manually call some sort of > destroy() method to tell the toolkit what you no longer want the user to > see: firstly, you have the display

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Mel
sturlamolden wrote: > On 20 Jul, 11:59, Thomas Jollans wrote: >> It is perfectly reasonable to be required to manually call some sort of >> destroy() method to tell the toolkit what you no longer want the user to >> see > Yes, but not to avoid a memory leak. OTOH, if you intend to re-use the Di

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Grant Edwards
On 2011-07-20, Adam Tauno Williams wrote: > On Tue, 2011-07-19 at 19:12 -0700, sturlamolden wrote: >> What is wrong with them >> 1. Designed for other languages, particularly C++, tcl and Java. >> 2. Bloatware. Qt and wxWidgets are C++ application frameworks. (Python >> has a standard library!) >

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Grant Edwards
On 2011-07-20, Thomas Jollans wrote: >> 5. No particular GUI thread synchronization is needed -- Python has a >> GIL. > > That's where you're wrong: the GIL is not a feature of Python. It is an > unfortunate implementation detail of current versions of CPython. (and > PyPy, apparently) And ther

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread sturlamolden
On 20 Jul, 11:59, Thomas Jollans wrote: > I wonder - what do you think of GTK+? PyGTK with GLADE is the easier to use, but a bit awkward looking on Windows and Mac. (Not to mention the number of dependencies that must be installed, inclusing a GTK runtime.) > Really, while Swing and Tkinter are

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread rantingrick
On Jul 19, 9:44 pm, Kevin Walzer wrote: > > 2. Bloatware. Qt and wxWidgets are C++ application frameworks. (Python > > has a standard library!) > > Again, so? This isn't applicable to Tk, by the way. It's a GUI toolkit > specifically designed for scripting languages. Tk is SPECIFICALLY designed

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread rantingrick
On Jul 19, 9:12 pm, sturlamolden wrote: > What is wrong with them: > > 1. Designed for other languages, particularly C++, tcl and Java. This fact bugs me but no one is willing to put forth an effort to make things happen. So we are stuck with what we have now. > 3. Unpythonic memory management:

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Johann Hibschman
Thomas Jollans writes: > On 20/07/11 04:12, sturlamolden wrote: >> 3. Unpythonic memory management: Python references to deleted C++ >> objects (PyQt). Manual dialog destruction (wxPython). Parent-child >> ownership might be smart in C++, but in Python we have a garbage >> collector. > > I wonder

sphinx

2011-07-20 Thread Jayron Soares
Hi guys! I'm trying to create method to perform query at sphinx index, can anyone does something like this before? I appreciate ! Ageu -- *" A Vida é arte do Saber...Quem quiser saber tem que Estudar!"* http://bucolick.tumblr.com http://artecultural.wordpress.com/ -- http://mail.python.org/mail

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Stefan Behnel
sturlamolden, 20.07.2011 04:12: Or should modern deskop apps be written with something completely different, such as HTML5? Depends. For many "desktop" apps, this is actually quite workable, with the additional advantage of having an Internet-/Intranet-ready implementation available in case y

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Adam Tauno Williams
On Wed, 2011-07-20 at 11:59 +0200, Thomas Jollans wrote: > On 20/07/11 04:12, sturlamolden wrote: > > 5. No particular GUI thread synchronization is needed -- Python has a > > GIL. > That's where you're wrong: the GIL is not a feature of Python. It is an > unfortunate implementation detail of curr

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Tim Chase
On 07/19/2011 09:12 PM, sturlamolden wrote: How I would prefer the GUI library to be, if based on "native" widgets: http://xkcd.com/927/ :-) -tkc -- http://mail.python.org/mailman/listinfo/python-list

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Adam Tauno Williams
On Tue, 2011-07-19 at 19:12 -0700, sturlamolden wrote: > What is wrong with them > 1. Designed for other languages, particularly C++, tcl and Java. > 2. Bloatware. Qt and wxWidgets are C++ application frameworks. (Python > has a standard library!) I've no idea what this means. I happily use pygtk

Re: Pythonic way with more than one max possible

2011-07-20 Thread Thomas Jollans
On 20/07/11 06:19, Steven D'Aprano wrote: > On Wed, 20 Jul 2011 01:17 pm CM wrote: > >> I have three items in a dict, like this: >> >> the_dict = {'a':1, 'b':2, 'c':3} >> >> but the vals could be anything. I want to configure something else >> based on the "winner" of such a dict, with these rule

Re: a little parsing challenge ☺

2011-07-20 Thread Xah Lee
i've just cleaned up my elisp code and wrote a short elisp tutorial. Here: 〈Emacs Lisp: Batch Script to Validate Matching Brackets〉 http://xahlee.org/emacs/elisp_validate_matching_brackets.html plain text version follows. Please let me know what you think. am still working on going thru all cod

total_ordering behaviour

2011-07-20 Thread risboo6909
Hello all, I've noticed some strange behaviour of functools.total_ordering decorator, at least it seems strange to me. Let's consider code snippet below import functools @functools.total_ordering class MyComparableType(object): def __init__(self, value, ref): self.value = value

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Thomas Jollans
On 20/07/11 04:12, sturlamolden wrote: > 3. Unpythonic memory management: Python references to deleted C++ > objects (PyQt). Manual dialog destruction (wxPython). Parent-child > ownership might be smart in C++, but in Python we have a garbage > collector. I wonder - what do you think of GTK+? I've

Re: The following modules appear to be missing - py2exe

2011-07-20 Thread miamia
hello, thanks for your answer. >  From the stuff below, you appear to be compiling for Windows. yes > > > The following modules appear to be missing > > ['Carbon', 'Carbon.Files', > This is Mac gui stuff which you neither need nor want in a Windows > binary. I suspect mis-specification somewhere.

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Steven D'Aprano
On Wed, 20 Jul 2011 05:51 pm Andrew Berg wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: RIPEMD160 > > On 2011.07.20 02:28 AM, Steven D'Aprano wrote: >> Isn't it optional though? > No. > http://doc.pypy.org/en/latest/faq.html#does-pypy-have-a-gil-why Ah, my mistake, thank you. I knew PyPy ha

Re: a little parsing challenge ☺

2011-07-20 Thread Steven D'Aprano
On Wed, 20 Jul 2011 05:54 pm jmfauth wrote: > DRY? acronym for ? I'd like to tell you, but I already told somebody else... *grins* http://en.wikipedia.org/wiki/Don't_repeat_yourself http://c2.com/cgi/wiki?DontRepeatYourself -- Steven -- http://mail.python.org/mailman/listinfo/python-l

Re: a little parsing challenge ☺

2011-07-20 Thread jmfauth
On 20 juil, 09:29, Ian Kelly wrote: > Otherwise, here's another non-DRY solution: > > >>> from itertools import izip > >>> for i, c in izip(reversed(xrange(len(s))), reversed(s)): > > ... > > Unfortunately, this is one space where there just doesn't seem to be a > single obvious way to do it. We

Geodetic functions library GeoDLL 32 Bit and 64 Bit

2011-07-20 Thread Fred
Hi developers, who develops programs with geodetic functionality like world-wide coordinate transformations or distance calculations, can work with the latest version of my GeoDLL. The Dynamic Link Library can easily be used with any programming language to add geodetic functionality to own app

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Andrew Berg
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On 2011.07.20 02:28 AM, Steven D'Aprano wrote: > Isn't it optional though? No. http://doc.pypy.org/en/latest/faq.html#does-pypy-have-a-gil-why - -- CPython 3.2.1 | Windows NT 6.1.7601.17592 | Thunderbird 5.0 PGP/GPG Public Key ID: 0xF88E034060A7

Re: (Maybe off topic) Can someone explain what a finite state machine is?

2011-07-20 Thread Steven D'Aprano
On Tue, 19 Jul 2011 11:32 pm Matty Sarro wrote: > Hey everyone. I am currently reading through an RFC, and it mentions > that a client and server half of a transaction are embodied by finite > state machines. I am reading through the wikipedia article for finite > state machines, and sadly it's go

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Steven D'Aprano
On Wed, 20 Jul 2011 05:20 pm Stefan Behnel wrote: > Steven D'Aprano, 20.07.2011 06:28: >>> Python has a GIL. >> >> Except for Jython, IronPython and PyPy. > > PyPy has a GIL, too. Isn't it optional though? -- Steven -- http://mail.python.org/mailman/listinfo/python-list

Re: a little parsing challenge ☺

2011-07-20 Thread Ian Kelly
On Wed, Jul 20, 2011 at 12:29 AM, jmfauth wrote: >> Then it is hard to code precisely. >> > > Not really. The trick is to count the different opener/closer > separately. > That is what I am doing to check balanced brackets in > chemical formulas. The rules are howerver not the same > as in math.

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Stefan Behnel
Steven D'Aprano, 20.07.2011 06:28: Python has a GIL. Except for Jython, IronPython and PyPy. PyPy has a GIL, too. Stefan -- http://mail.python.org/mailman/listinfo/python-list

Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Ian Kelly
On Tue, Jul 19, 2011 at 8:12 PM, sturlamolden wrote: > 3. Unpythonic memory management: Python references to deleted C++ > objects (PyQt). Manual dialog destruction (wxPython). Parent-child > ownership might be smart in C++, but in Python we have a garbage > collector. Perhaps you already know th

Re: Pythonic way with more than one max possible

2011-07-20 Thread Chris Rebert
On Tue, Jul 19, 2011 at 10:10 PM, CM wrote: > On Jul 19, 11:17 pm, CM wrote: >> I have three items in a dict, like this: >> >> the_dict = {'a':1, 'b':2, 'c':3} >> >> but the vals could be anything.  I want to configure something else >> based on the "winner" of such a dict, with these rules: > I