Re: WxPython versus Tkinter.

2011-01-24 Thread Octavian Rasnita
From: "Littlefield, Tyler" And we already do. I haven't campaigned for changes with TKInter or spoken to anyone about them, because I haven't downloaded a program to find out it was written to use TKInter, and thus unacccessible. I'm not saying that there aren't any, just saying it's not some

Re: WxPython versus Tkinter.

2011-01-24 Thread Octavian Rasnita
From: "Littlefield, Tyler" >Because of this, many blind people try to show that they are like the sighted, that they can do everything, that they are >independent, so they like to >talk about the movies they watch, they like to have touch-pad mobile phones and so on, even though the accessibil

Re: WxPython versus Tkinter.

2011-01-24 Thread Octavian Rasnita
From: "Littlefield, Tyler" >It would be great if the Tk/Tkinter developers would be interested in making >this GUI lib accessible. They're not going to do it without knowing what makes accessible accessible, and why it needs to be so. So, rather than tell the world about how -some- blind peopl

Re: WxPython versus Tkinter.

2011-01-24 Thread Octavian Rasnita
From: "Infinity77" As a general rule, a GUI-newbie should try all the GUI toolkits out there and settle with the one which looks easier/nicer/ Yes it would be nice, but... does it happen that way usually? :-) Octavian -- http://mail.python.org/mailman/listinfo/python-list

Re: Behaviour-based interface/protocol implementation?

2011-01-24 Thread Chris Rebert
On Mon, Jan 24, 2011 at 2:13 AM, Alan Franzoni wrote: > Hello, > I'd like to have a system which lets me do certain actions if the > duck-type of a certain objects matches what I expect, i.e. I'd like to > have a formalization of what it's sometimes done through getattr() > calls: > > if getattr(m

Re: WxPython versus Tkinter.

2011-01-24 Thread Jason Swails
On Tue, Jan 25, 2011 at 12:16 AM, rantingrick wrote: > On Jan 24, 10:51 pm, Stephen Hansen wrote: > > > No. I am saying as a matter of legal permissibility, it may be included > > in the stdlib. > > > > But, as a matter of both policy and ethical behavior, it will not > > without it being donate

Re: New instance of a class : not reset?

2011-01-24 Thread Jean-Francois
Great thank you -- http://mail.python.org/mailman/listinfo/python-list

Re: WxPython versus Tkinter.

2011-01-24 Thread rantingrick
On Jan 24, 10:51 pm, Stephen Hansen wrote: > No. I am saying as a matter of legal permissibility, it may be included > in the stdlib. > > But, as a matter of both policy and ethical behavior, it will not > without it being donated by the author. I don't think you have any idea of what you are sa

Re: WxPython versus Tkinter.

2011-01-24 Thread Thomas L. Shinnick
At 10:39 PM 1/24/2011, Jason Swails wrote: [snip] Two valuable things I have taken away from this extended argument: 1) This being my first super-high volume mailing list with the occasional neurotically opinionated poster, MRAB introduced me to Godwin's law for the first time. Considering it

Re: [Python] how to tell if cursor is sqlite.Cursor or psycopg2.Cursor

2011-01-24 Thread Chris Gonnerman
You're looking at it wrong. It doesn't matter what type of cursor it is, only if you can get the correct number. So use a try...except: try: cursor.execute(""" select last_insert_rowid() """) except: cursor.execute(""" select currval('my_sequence') """) That's

Re: WxPython versus Tkinter.

2011-01-24 Thread Stephen Hansen
On 1/24/11 8:32 PM, rantingrick wrote: > On Jan 24, 9:54 pm, Stephen Hansen wrote: >> On 1/24/11 2:16 PM, rantingrick wrote: > >> wxPython is open source, and technically anyone has the legal right to >> include it in whatever they want -- but no module goes into stdlib, >> period, without it bein

Re: WxPython versus Tkinter.

2011-01-24 Thread Jason Swails
Oddly enough, this post STARTED right around the time I joined the list. (Tkinter: The good, the bad, the ugly) It's been an interesting metamorphosis to watch as the ranting(rick) started quasi-civil and "discussionary", then evolved within a matter of weeks to violence and hyperbole. A lot of ra

Re: WxPython versus Tkinter.

2011-01-24 Thread rantingrick
On Jan 24, 9:54 pm, Stephen Hansen wrote: > On 1/24/11 2:16 PM, rantingrick wrote: > wxPython is open source, and technically anyone has the legal right to > include it in whatever they want -- but no module goes into stdlib, > period, without it being donated by its authors for that purpose. Ok

Re: WxPython versus Tkinter.

2011-01-24 Thread Stephen Hansen
On 1/24/11 2:16 PM, rantingrick wrote: > On Jan 24, 3:58 pm, Infinity77 wrote: > >> I have been involved in the wxPython development for many years >> (mostly on implementation of custom widgets, in the AGW library), and >> I share Robin's concerns about this kind of "publicity" given to >> wxPyt

Re: Swampy Module installation

2011-01-24 Thread Alan Meyer
On 01/18/2011 06:26 PM, Michael Rauh wrote: I am new to python, and attempting to install the learning module swampy. http://www.greenteapress.com/thinkpython/swampy/install.html Unfortunately, I am attempting to do this on windows vista, which does not appear to be cooperating. Once I click on t

Re: WxPython versus Tkinter.

2011-01-24 Thread Littlefield, Tyler
>I think you are lying about being blind. And if you are, i am disgusted. By golly, you caught me in the act! shhh, don't tell everyone; it's all an elaborate front. The braille, the screen reader, the cane... I just like to fake it. block quote Well if i were a blind person i would use the mo

Re: WxPython versus Tkinter.

2011-01-24 Thread rantingrick
On Jan 24, 2:11 pm, rantingrick wrote: > On Jan 22, 6:07 pm, rantingrick wrote: > > > I await any challengers... > > CODE UPDATE > >  * fixed linux whiners bug > > https://sites.google.com/site/thefutureofpython/home/code-challenges So what? Now that the code runs without segfault nobody has not

Re: WxPython versus Tkinter.

2011-01-24 Thread Steven D'Aprano
On Tue, 25 Jan 2011 01:37:18 +0100, Alexander Kapps wrote: > I *really* don't understand why RR gets so much attention. He has > (massively!) insulted everybody around, has shown his low knowledge and > understanding, his selfish and arrogant behaviour, etc. http://xkcd.com/386/ -- Steven --

Re: WxPython versus Tkinter.

2011-01-24 Thread Alexander Kapps
There are two completely different issues here: 1. Tyler's/Octavian's very valid (but AFAICT now somewhat over-expressed) point that Tk/Tkinter isn't accessible. I accept this, but don't see any point against Tk(inter) in this per se. Tk(inter) could be advanced to support screen readers and

Re: WxPython versus Tkinter.

2011-01-24 Thread Robin Dunn
On Jan 24, 2:16 pm, rantingrick wrote: > And i know the real reason you and Robin do not want wxPython > in the stdlib. Because you do not want to lose your selfish status > within the wxPython community. When wxPython becomes a stdlib module > then you will answer directly to Guido and Python-dev

Re: WxPython versus Tkinter.

2011-01-24 Thread rantingrick
On Jan 24, 5:31 pm, Grant Edwards wrote: > On 2011-01-24, Steven D'Aprano wrote: > > > On Mon, 24 Jan 2011 09:17:01 -0800, rantingrick wrote: > > >> I was being a closed minded idiot at the time. I have since evolved. > > > "Was"? > [...snip: Steven Trolling...] > > Unfortunately I've wasted fa

Re: WxPython versus Tkinter.

2011-01-24 Thread Grant Edwards
On 2011-01-24, Steven D'Aprano wrote: > On Mon, 24 Jan 2011 09:17:01 -0800, rantingrick wrote: > >> I was being a closed minded idiot at the time. I have since evolved. > > "Was"? > > It's been fun (for some definition of fun) watching your > grandstanding, your haranguing the community into doing

Re: how to tell if cursor is sqlite.Cursor or psycopg2.Cursor

2011-01-24 Thread dmaziuk
For psycopg2: '' (of course, this could also be due to RHEL5's ancient python). Dima -- http://mail.python.org/mailman/listinfo/python-list

Re: WxPython versus Tkinter.

2011-01-24 Thread Steven D'Aprano
On Mon, 24 Jan 2011 09:17:01 -0800, rantingrick wrote: > I was > being a closed minded idiot at the time. I have since evolved. "Was"? It's been fun (for some definition of fun) watching your grandstanding, your haranguing the community into doing things your way, your insulting the blind for

Re: why are functions greater than numbers?

2011-01-24 Thread Emile van Sebille
On 1/24/2011 1:51 PM Alan said... Why do function objects compare in this way to numbers? To provide ordering capabilities. IIRC, comparisons of differing types are arbitrary but consistent. Emile Thanks, Alan Isaac def f(): return ... f>5 True -- http://mail.python.org/mailman

Re: why are functions greater than numbers?

2011-01-24 Thread Terry Reedy
On 1/24/2011 4:51 PM, Alan wrote: Why do function objects compare in this way to numbers? Thanks, Alan Isaac def f(): return ... f>5 True In 3.x >>> def f(): pass >>> f > 5 Traceback (most recent call last): File "", line 1, in f > 5 TypeError: unorderable types: function() > int(

Re: WxPython versus Tkinter.

2011-01-24 Thread Steven D'Aprano
On Mon, 24 Jan 2011 12:24:24 -0800, Robin Dunn wrote: > On Jan 24, 12:03 pm, rantingrick wrote: >> On Jan 24, 1:57 pm, Robin Dunn wrote: > >> > BTW, on behalf of the wxPython community I'd like to apologize for >> > the havoc caused by the flaming troll escaping from his cage.  In >> > general

Re: WxPython versus Tkinter.

2011-01-24 Thread Bryan
On Jan 24, 4:16 pm, rantingrick wrote: > ... > Good, and again i cannot stress how little we care about your opinion. You keep using the word "we". I do not think it means what you think it means. -- http://mail.python.org/mailman/listinfo/python-list

Re: why are functions greater than numbers?

2011-01-24 Thread MRAB
On 24/01/2011 21:51, Alan wrote: Why do function objects compare in this way to numbers? Thanks, Alan Isaac def f(): return ... f>5 True In Python 2 any object can be compared in this way to any other. The result is arbitrary but consistent. In Python 3 that has changed because in practi

Re: WxPython versus Tkinter.

2011-01-24 Thread rantingrick
On Jan 24, 4:19 pm, "Littlefield, Tyler" wrote: > I say this all because I want to make a point. I don't expect the world > to revolve around what is and isn't accessible. While laws do exist, if > I ran around quoting the ADA (Americans with Disabilities Act) at > everyone who didn't make things

Re: why are functions greater than numbers?

2011-01-24 Thread Benjamin Kaplan
On Jan 24, 2011 5:31 PM, "Alan" wrote: > > Why do function objects compare in this way to numbers? > Thanks, > Alan Isaac > > > >>> def f(): return > ... > >>> f>5 > True > Python 2 returned an arbitrary but consistent ordering for almost all comparisons, just in case you were doing something wei

Re: why are functions greater than numbers?

2011-01-24 Thread Dan Stromberg
On Mon, Jan 24, 2011 at 1:51 PM, Alan wrote: > Why do function objects compare in this way to numbers? > Thanks, > Alan Isaac > > def f(): return > ... f>5 > True > > -- > http://mail.python.org/mailman/listinfo/python-list > They shouldn't, but did in 2.x, and no longer do in 3.x: $ /

Re: why are functions greater than numbers?

2011-01-24 Thread Ian Kelly
On Mon, Jan 24, 2011 at 2:51 PM, Alan wrote: > Why do function objects compare in this way to numbers? > Thanks, > Alan Isaac > > def f(): return > ... f>5 > True http://docs.python.org/library/stdtypes.html#comparisons Python 3 fixes this particular wart. -- http://mail.python.org/ma

Re: WxPython versus Tkinter.

2011-01-24 Thread rantingrick
On Jan 24, 3:53 pm, "Littlefield, Tyler" wrote: > RR, you idiot. Did you -not- read that I was blind and using a screen > reader? And wasn't it -you- yelling at someone about reading and > comprehention? > On 1/24/2011 12:34 PM, MRAB wrote: Are you telling me that you are blind? You better not be

trouble installing MySQLdb (cygwin) + Bonus question

2011-01-24 Thread Matthew Roth
Hi, I'm a python newbie. By newbie I mean two days ago. It was suggested to me that I work with python. Unfortunately at work I must run this on a windows machiene. However, I am having difficultly installing MySQLdb. First is it even possible under my current environment? I am using python(2.6.5

Re: WxPython versus Tkinter.

2011-01-24 Thread rantingrick
On Jan 24, 3:58 pm, Infinity77 wrote: > I have been involved in the wxPython development for many years > (mostly on implementation of custom widgets, in the AGW library), and > I share Robin's concerns about this kind of "publicity" given to > wxPython. Who cares what you think about wxPython's

Re: WxPython versus Tkinter.

2011-01-24 Thread Littlefield, Tyler
>Because of this, many blind people try to show that they are like the sighted, that they can do everything, that they are >independent, so they like to >talk about the movies they watch, they like to have touch-pad mobile phones and so on, even though the accessibility of >those gadgets is rea

Re: WxPython versus Tkinter.

2011-01-24 Thread Neil Hodgson
rantingrick: > Not if we used the underlying MS library! Windows has such a rich > library why not use it? Why must we constantly re-invent the wheel? It is up to the GUI toolkit or application to implement the interfaces defined by Windows Automation API on every object it displays. The stand

Re: WxPython versus Tkinter.

2011-01-24 Thread Littlefield, Tyler
>It would be great if the Tk/Tkinter developers would be interested in making >this GUI lib accessible. They're not going to do it without knowing what makes accessible accessible, and why it needs to be so. So, rather than tell the world about how -some- blind people want to be like sighted peo

Re: WxPython versus Tkinter.

2011-01-24 Thread Infinity77
On Jan 24, 9:57 pm, Robin Dunn wrote: > On Jan 23, 4:31 pm, "Martin v. Loewis" wrote: > > > > WxPython Challenge 1 code updated... > > > >  * Fixed tab traveral > > >  * Removed hand-holding code > > >  * Removed some cruft > > > >  https://sites.google.com/site/thefutureofpython/home/code-challen

Re: WxPython versus Tkinter.

2011-01-24 Thread rantingrick
On Jan 24, 3:47 pm, Neil Hodgson wrote: >    Making Tk as accessible as Windows or GTK+ would be a huge job. Not if we used the underlying MS library! Windows has such a rich library why not use it? Why must we constantly re-invent the wheel? Windowing GUIs are not recent technology. These thing

why are functions greater than numbers?

2011-01-24 Thread Alan
Why do function objects compare in this way to numbers? Thanks, Alan Isaac >>> def f(): return ... >>> f>5 True -- http://mail.python.org/mailman/listinfo/python-list

Re: WxPython versus Tkinter.

2011-01-24 Thread Littlefield, Tyler
RR, you idiot. Did you -not- read that I was blind and using a screen reader? And wasn't it -you- yelling at someone about reading and comprehention? On 1/24/2011 12:34 PM, MRAB wrote: On 24/01/2011 18:48, rantingrick wrote: On Jan 24, 12:21 pm, "Littlefield, Tyler" wrote: [...snip: good dis

Re: WxPython versus Tkinter.

2011-01-24 Thread Neil Hodgson
Octavian Rasnita: > There are no many people that know about this thing, > but there are standards like MSAA that can be followed > by them if they really want to offer accessibility. I > guess that if Tkinter would support MSAA (Microsoft > Active Accessibility) in its Windows version, the screen

Re: WxPython versus Tkinter.

2011-01-24 Thread rantingrick
On Jan 24, 2:49 pm, Bryan wrote: > On Jan 24, 2:33 pm, rantingrick wrote: > > > Yes and you made your selfishness quite clear! Be careful my friend, > > because as Tyler found out, this mindset becomes a slippery slope > > *very* quickly! > > I merely made the observation that most programmers do

Re: WxPython versus Tkinter.

2011-01-24 Thread Ethan Furman
On Sun, 23 Jan 2011 12:23:13 -0800, rantingrick wrote: > I am not > trying to create a working file browser so you can steal my code. 2011/1/24 rantingrick : This thread has been an eye opener for myself [...] > we cannot even work together to get some simple code debugged. Aha! So you want

Re: List behaviours with Clustering Algorithm

2011-01-24 Thread James Ravenscroft
Peter > > I can't run your code because you didn't make it standalone, Thanks for the heads up, I've made a simple version of the clusterer which you can view on pastebin: http://pastebin.com/7HmAkmfj If you have time to look through my code I would be very grateful! > > but in your case th

Re: WxPython versus Tkinter.

2011-01-24 Thread Octavian Rasnita
From: "Mark Roseman" > "Littlefield, Tyler" wrote: >> Rather, I believe >> those pushing accessibility should concentrate on the root cause; that >> of fixing TKInter, and not forcing everyone else to use a different library. > > > Here, here. From my queries to some of the Tcl/Tk folks, it

Re: WxPython versus Tkinter.

2011-01-24 Thread Octavian Rasnita
From: "rantingrick" > Obviously it > would be awesome, but I think Octavian is just focusing on himself, and > not the actual big picture here. Yes Octavian is the only disabled person in the world. What a selfish, selfish person he is. Shame on you Octavian, Shame on You! You just showed your

Re: WxPython versus Tkinter.

2011-01-24 Thread Octavian Rasnita
From: "MRAB" > On 24/01/2011 18:05, rantingrick wrote: >> On Jan 24, 12:00 pm, Bryan wrote: >> >>> Accessibility, like internationalization, is something few programmers >>> spend much time thinking about. >> >> Thats another uninformed statement by you we can add to the mountains >> of useless c

Re: WxPython versus Tkinter.

2011-01-24 Thread Octavian Rasnita
From: "Bryan" I wish I could respond to that, but I have no experience with screen readers. Are there any free ones, or ones with free trials, that I could try out? I'm not yet convinced it's any better or worse than wxPython since you're only a single datapoint, but of course it's possible. If y

Re: WxPython versus Tkinter.

2011-01-24 Thread Octavian Rasnita
From: "Mark Roseman" > Octavian, thank you for very clearly making and repeating your point > about screen readers. It is very obvious that at this point in time Tk > (and hence Tkinter) is not a suitable candidate if screen readers are an > important concern. The screen readers are always a

Re: WxPython versus Tkinter.

2011-01-24 Thread Octavian Rasnita
From: "Littlefield, Tyler" > Hello, > > I have been on another list with Octavian, and he takes his > accessibility a bit to seriously. If things went his way, he wants laws > where -everything- has to be accessible, and it is illegal not to do so. Is the discrimination legal in your country

Re: [Code Challenge] WxPython versus Tkinter.

2011-01-24 Thread Octavian Rasnita
From: "Ethan Furman" > Octavian Rasnita wrote: >> From: "rantingrick" >>> WxPython versus Tkinter (A code battle to the death!) >>> >>> by Rick Johnson. > [...] > > Octavian, > > Please do not repost rr's crap in its entirety, or you'll find yourself > added to many killfiles -- just like he i

Re: WxPython versus Tkinter.

2011-01-24 Thread Bryan
On Jan 24, 2:33 pm, rantingrick wrote: > > Yes and you made your selfishness quite clear! Be careful my friend, > because as Tyler found out, this mindset becomes a slippery slope > *very* quickly! I merely made the observation that most programmers don't think about these topics and it would be

Re: how to tell if cursor is sqlite.Cursor or psycopg2.Cursor

2011-01-24 Thread MRAB
On 24/01/2011 19:44, dmaziuk wrote: Hi everyone, I've wrapper class around some sql statements and I'm trying to add a method that does: if my_cursor is a sqlite cursor, then run "select last_insert_rowid()" else if it's a psycopg2 cursor, then run "select currval( 'my_sequence' )" etc.

Re: how to tell if cursor is sqlite.Cursor or psycopg2.Cursor

2011-01-24 Thread Jon Clements
On Jan 24, 7:44 pm, dmaziuk wrote: > Hi everyone, > > I've wrapper class around some sql statements and I'm trying to add a > method that does: >   if my_cursor is a sqlite cursor, then run "select > last_insert_rowid()" >   else if it's a psycopg2 cursor, then run "select > currval( 'my_sequence'

Re: WxPython versus Tkinter.

2011-01-24 Thread rantingrick
On Jan 24, 1:23 pm, Bryan wrote: > Ok, great. You've identified one programmer who thinks about > internationalization. Not much of a compelling argument there. Oh Bryan your view so simplistic. There is a whole world out there you know. > However, I think you missed my point. My point wasn't t

Re: WxPython versus Tkinter.

2011-01-24 Thread Robin Dunn
On Jan 24, 12:03 pm, rantingrick wrote: > On Jan 24, 1:57 pm, Robin Dunn wrote: > > BTW, on behalf of the wxPython community I'd like to apologize for the > > havoc caused by the flaming troll escaping from his cage.  In general > > wxPython users are much less militant and zealotty and honor >

Re: WxPython versus Tkinter.

2011-01-24 Thread rantingrick
On Jan 22, 6:07 pm, rantingrick wrote: > I await any challengers... CODE UPDATE * fixed linux whiners bug https://sites.google.com/site/thefutureofpython/home/code-challenges -- http://mail.python.org/mailman/listinfo/python-list

Re: WxPython versus Tkinter.

2011-01-24 Thread rantingrick
On Jan 24, 1:57 pm, Robin Dunn wrote: > On Jan 23, 4:31 pm, "Martin v. Loewis" wrote: > > > > WxPython Challenge 1 code updated... > > > >  * Fixed tab traveral > > >  * Removed hand-holding code > > >  * Removed some cruft > > > >  https://sites.google.com/site/thefutureofpython/home/code-challe

Re: WxPython versus Tkinter.

2011-01-24 Thread rantingrick
On Jan 24, 1:34 pm, MRAB wrote: > [snip] > I'd like to invoke Godwin's law at this point. Actually no. And i'll give good reason. Tyler's argument, which lacked greatly in compassion for people with disabilities brought out my accusation. It was not an accusation meant to merely insult just to

Re: Python 3.1 cx_Oracle 5.0.2 "ImportError: DLL load failed: The specified module could not be found."

2011-01-24 Thread thompjs
I'm having similar issue but everything seems to be installed in correct places. Loaded "CX_ORACLE.PYD" at address 0x6BD8. Successfully hooked module. Loaded "OCI.DLL" at address 0x1000. Successfully hooked module. Unloaded "CX_ORACLE.PYD" at address 0x6BD8. Unloaded "OCI.DLL" at ad

Re: WxPython versus Tkinter.

2011-01-24 Thread Robin Dunn
On Jan 23, 4:31 pm, "Martin v. Loewis" wrote: > > WxPython Challenge 1 code updated... > > >  * Fixed tab traveral > >  * Removed hand-holding code > >  * Removed some cruft > > >  https://sites.google.com/site/thefutureofpython/home/code-challenges > > > Good luck! > > Still crashes the interpret

Re: Convert month name to month number faster

2011-01-24 Thread Crawford, Ellen
-- http://mail.python.org/mailman/listinfo/python-list

how to tell if cursor is sqlite.Cursor or psycopg2.Cursor

2011-01-24 Thread dmaziuk
Hi everyone, I've wrapper class around some sql statements and I'm trying to add a method that does: if my_cursor is a sqlite cursor, then run "select last_insert_rowid()" else if it's a psycopg2 cursor, then run "select currval( 'my_sequence' )" etc. The best I can come up with is import bo

Re: WxPython versus Tkinter.

2011-01-24 Thread MRAB
On 24/01/2011 18:48, rantingrick wrote: On Jan 24, 12:21 pm, "Littlefield, Tyler" wrote: [...snip: good discussion...] Rather, I believe those pushing accessibility should concentrate on the root cause; that of fixing TKInter, and not forcing everyone else to use a different library. Now

Re: WxPython versus Tkinter.

2011-01-24 Thread Emile van Sebille
On 1/24/2011 8:13 AM Grant Edwards said... On 2011-01-24, rantingrick wrote: Bryan you are clearly an idiot. I am demanding that from now on, you must have at least a 120 or higher IQ before participating in any of my threads. Rantingrick thinks certain threads belong to him. 'nuf said.

Re: WxPython versus Tkinter.

2011-01-24 Thread Bryan
On Jan 24, 12:31 pm, "Littlefield, Tyler" wrote: > Bryan: Here's a pretty good list for you. > Windows: > Jaws for Windows (http://freedomscientific.com). Not free, but you get a > 40 minute demo before you need to reboot. > Nonvisual Desktop Access:http://www.nvda-project.org/ > Free, open source

Re: WxPython versus Tkinter.

2011-01-24 Thread MRAB
On 24/01/2011 18:05, rantingrick wrote: On Jan 24, 12:00 pm, Bryan wrote: Accessibility, like internationalization, is something few programmers spend much time thinking about. Thats another uninformed statement by you we can add to the mountains of useless cruft you have offered so far. Uni

Re: WxPython versus Tkinter.

2011-01-24 Thread Bryan
On Jan 24, 12:05 pm, rantingrick wrote: > On Jan 24, 12:00 pm, Bryan wrote: > > > Accessibility, like internationalization, is something few programmers > > spend much time thinking about. > > Thats another uninformed statement by you we can add to the mountains > of useless cruft you have offere

Re: WxPython versus Tkinter.

2011-01-24 Thread Mark Roseman
"Littlefield, Tyler" wrote: > Rather, I believe > those pushing accessibility should concentrate on the root cause; that > of fixing TKInter, and not forcing everyone else to use a different library. Here, here. From my queries to some of the Tcl/Tk folks, it seems that while the knowledge a

Re: WxPython versus Tkinter.

2011-01-24 Thread Bryan
On Jan 24, 8:49 am, Mike Driscoll wrote: > > Bryan, on the other hand, has been aTkinterluminary who has helped > me in the past when I was learningTkinterand I won't be too > surprised if he helps me again. I'm sorry he's had so much trouble > with wx though. Thanks for the kind words, I appreci

Re: WxPython versus Tkinter.

2011-01-24 Thread rantingrick
On Jan 24, 12:21 pm, "Littlefield, Tyler" wrote: [...snip: good discussion...] > Rather, I believe > those pushing accessibility should concentrate on the root cause; that > of fixing TKInter, and not forcing everyone else to use a different library. Now you go too far! And this is an ironic

Re: WxPython versus Tkinter.

2011-01-24 Thread Bryan
On Jan 24, 8:15 am, rantingrick wrote: > On Jan 24, 6:33 am, Bryan wrote: > > > I think I'm qualified, though I guess only you can tell me if I > > measure up to your standards. > > Go on... > > > I have 15 years or so of tk development, > > though admittedly mostly with Tcl. Most recently I've s

Re: WxPython versus Tkinter.

2011-01-24 Thread Noah Hall
On Mon, Jan 24, 2011 at 5:57 PM, rantingrick wrote: > Why don't you just tell him to shut the hell up Mark? > accidentally quoting me too much. You guys are very disappointing to > this community. Everyone here needs a voice. We must never engage in > behaviors that would limit speech from our c

Re: WxPython versus Tkinter.

2011-01-24 Thread Littlefield, Tyler
Bryan: Here's a pretty good list for you. Windows: Jaws for Windows (http://freedomscientific.com). Not free, but you get a 40 minute demo before you need to reboot. Nonvisual Desktop Access: http://www.nvda-project.org/ Free, open source, written in python (with some core stuff in c/c++). Linux

Re: WxPython versus Tkinter.

2011-01-24 Thread rantingrick
On Jan 24, 12:11 pm, Bryan wrote: > It is a provable fact that wxPython segfaults. You yourself proved > that. That is, in and of itself, *not* a reason to pick some other > toolkit. It's merely a datapoint. It's not a datapoint you can just > sweep under the rug, however, like you seem to want t

Re: WxPython versus Tkinter.

2011-01-24 Thread Ethan Furman
Mark Roseman wrote: I don't object and in fact commend you for advocating for accessibility. I do feel you are not acknowledging and fully respecting that others may be in situations where accessibility may not be the primary concern. Well said. ~Ethan~ -- http://mail.python.org/mailman/

Re: WxPython versus Tkinter.

2011-01-24 Thread Littlefield, Tyler
Hello, I have been on another list with Octavian, and he takes his accessibility a bit to seriously. If things went his way, he wants laws where -everything- has to be accessible, and it is illegal not to do so. As a sidenote, I would like to preface everything I'm going to say by mentioning

Re: WxPython versus Tkinter.

2011-01-24 Thread Bryan
On Jan 24, 7:32 am, rantingrick wrote: > On Jan 24, 7:24 am, Bryan wrote: > > > On Jan 24, 12:06 am, rusi wrote: > > > > On Jan 24, 9:16 am, "Littlefield, Tyler" wrote: > > > > Of course as Steven pointed out wx is written in C++ which is almost > > > certainly where the crash is occurring. > >

Re: WxPython versus Tkinter.

2011-01-24 Thread rantingrick
On Jan 24, 12:00 pm, Bryan wrote: > Accessibility, like internationalization, is something few programmers > spend much time thinking about. Thats another uninformed statement by you we can add to the mountains of useless cruft you have offered so far. Unicode IS internationalization and Guido t

Re: WxPython versus Tkinter.

2011-01-24 Thread Bryan
On Jan 24, 7:27 am, "Octavian Rasnita" wrote: > From: "Bryan" > > > It would be hard (but not impossible, by any > > stretch) for me to duplicate your code. Certainly, it would take more > > lines of code but that's about it. OTOH, it would be very difficult > > indeed to create atkinterprogram t

Re: Which is the best book to learn python

2011-01-24 Thread Krzysztof Bieniasz
Dnia Mon, 24 Jan 2011 09:09:31 -0800, santosh hs napisał(a): > Hi All, > i am beginner to python please tell me which is the best available > reference for beginner to start from novice For most CS stuff O'Reilly is most often a good bet. Therefore I think you'll find Mark Lutz's "Learning Pytho

Re: WxPython versus Tkinter.

2011-01-24 Thread rantingrick
On Jan 24, 11:39 am, Mark Roseman wrote: >  "Octavian Rasnita" wrote: > > > But unfortunately it is not accessible for screen readers and it > > discriminates many potential users. > > Octavian, thank you for very clearly making and repeating your point > about screen readers.  It is very obvious

Re: Which is the best book to learn python

2011-01-24 Thread Colin J. Williams
On 24-Jan-11 12:38 PM, Jean-Michel Pichavant wrote: santosh hs wrote: Hi All, i am beginner to python please tell me which is the best available reference for beginner to start from novice Hi, You could have searched the archive, this question was raised many times. http://wiki.python.org/mo

Re: WxPython versus Tkinter.

2011-01-24 Thread Mark Roseman
"Octavian Rasnita" wrote: > But unfortunately it is not accessible for screen readers and it > discriminates many potential users. Octavian, thank you for very clearly making and repeating your point about screen readers. It is very obvious that at this point in time Tk (and hence Tkinter)

Re: Which is the best book to learn python

2011-01-24 Thread Jean-Michel Pichavant
santosh hs wrote: Hi All, i am beginner to python please tell me which is the best available reference for beginner to start from novice Hi, You could have searched the archive, this question was raised many times. http://wiki.python.org/moin/IntroductoryBooks I read "Learning Python" whe

Re: Which is the best book to learn python

2011-01-24 Thread srinivas hn
search for byte of python in google its good book for beginners . . CHEERS CNA 9986229891 On Mon, Jan 24, 2011 at 10:39 PM, santosh hs wrote: > Hi All, > i am beginner to python please tell me which is the best available > reference for beginner to start from novice > -- > http://mail.python

Re: Need GUI pop-up to edit a (unicode ?) string

2011-01-24 Thread rantingrick
On Jan 22, 2:22 pm, Rikishi42 wrote: > I'm in need for a graphical pop-up that will display a (unicode ?) string in > a field, allow the user to change it and return the modified string. > > Maybe also keep the original one displayed above it. > > Something like this: > +--

Re: WxPython versus Tkinter.

2011-01-24 Thread rantingrick
On Jan 24, 10:38 am, Mike Driscoll wrote: > I haven't gotten my ideas fleshed out yet. When I do, I will describe > them. I look forward to any proposals and i would like to be a part of this challenge both for wxPython and Tkinter since i have used both. -- http://mail.python.org/mailman/listi

Re: WxPython versus Tkinter.

2011-01-24 Thread rantingrick
On Jan 24, 7:32 am, Peter Otten <__pete...@web.de> wrote: > rantingrick wrote: > > I am demanding that from now on, you > > must have at least a 120 or higher IQ before participating in any of > > my threads. > > You mean, you are putting yourself in your own killfile ;) :) Actually i never use t

Re: I'm interested in calculating time down to the femtosecond.

2011-01-24 Thread Robert Kern
On 1/23/11 12:43 AM, Slie wrote: I found that there was a code submission at NumPy 1.4 but I can not find in the documentation search for Date nor have found anything other then that discussion of the ability. Anyone have any ideas suggestions? I just want my program to be able to calculate

Which is the best book to learn python

2011-01-24 Thread santosh hs
Hi All, i am beginner to python please tell me which is the best available reference for beginner to start from novice -- http://mail.python.org/mailman/listinfo/python-list

Re: WxPython versus Tkinter.

2011-01-24 Thread Octavian Rasnita
From: "Littlefield, Tyler" > >Or you have started to use Linux and now you don't care about the > majority of >users that need to use a screen reader? > I said nothing the like. TkInter does have problemns with Jaws, but I'm > not going to sit here and say the same thing over and over as you are

Re: [Code Challenge] WxPython versus Tkinter.

2011-01-24 Thread Ethan Furman
Octavian Rasnita wrote: From: "rantingrick" WxPython versus Tkinter (A code battle to the death!) by Rick Johnson. [...] Octavian, Please do not repost rr's crap in its entirety, or you'll find yourself added to many killfiles -- just like he is. ~Ethan~ -- http://mail.python.org/mailman

Re: WxPython versus Tkinter.

2011-01-24 Thread Mike Driscoll
On Jan 24, 9:02 am, rantingrick wrote: > On Jan 24, 8:49 am, Mike Driscoll wrote: > > > On Jan 24, 7:24 am, Bryan wrote: > > > In my experience, segfaults with wxPython aren't daily, but they are > > > pretty much weekly. There are weeks that can go by without them, but > > > then I'll have seve

Re: WxPython versus Tkinter.

2011-01-24 Thread rantingrick
On Jan 24, 10:13 am, Grant Edwards wrote: > On 2011-01-24, rantingrick wrote: > > > Bryan you are clearly an idiot. I am demanding that from now on, you > > must have at least a 120 or higher IQ before participating in any of > > my threads. > > Rantingrick thinks certain threads belong to him.

Re: A and B but not C in list

2011-01-24 Thread Boris Borcic
Terry Reedy wrote: The straightforward code if a in L and b in L and c not in L and d not in L scans the list 4 times. of course for a single scan one can setify the list and write S=set(L) if a in S and b in S and c not in S and d not in S or even, I guess, something like {a,b} <= S and

Re: WxPython versus Tkinter.

2011-01-24 Thread Grant Edwards
On 2011-01-24, Corey Richardson wrote: > Python (and supposedly wxPython) are cross-platform. Code that runs on > one should run on the other unmodified. No, that's not what "cross-platform" really means. Cross-platform means that it's possible (and reasonably stright-forward) to write code th

  1   2   >