Re: WxPython versus Tkinter.

2011-01-25 Thread Octavian Rasnita
From: "rantingrick" On Jan 25, 3:41 pm, Corey Richardson wrote: Do you honestly think he was talking about the accessibility problem? IMO that should move to another thread, because this one is simply about, as the subject suggests, "WxPython versus Tkinter". Corey again (like many) you lack

Re: WxPython versus Tkinter.

2011-01-25 Thread Octavian Rasnita
From: "Emile van Sebille" Why is WxPython ineligible? I think Terry's point was compatibility with python3 -- which wx apparently isn't yet. Emile Well, I didn't know this, and it is a valid reason. This means that it is true that there is no enough maintainance force to keep WxPython u

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

2011-01-25 Thread rantingrick
On Jan 26, 12:53 am, Terry Reedy wrote: > I only see "self.wait_window(self)" in the Dialog base class and not in > SimpleDialog, which is what I though you were talking about. It is the > last line of Dialog.__init__. Yes. In the module "tkSimpleDialog" the class "Dialog" is what i am referring

Re: adding "Print" menu in wxPython

2011-01-25 Thread rantingrick
On Jan 26, 12:19 am, rantingrick wrote: Actually i found more cruft. Here is something that would be acceptable although i had to wrap lines shorter than i normally would for the sake of Usenet. Who ever wrote that code should be lashed 50 times! You still need some error handling for the open an

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

2011-01-25 Thread Terry Reedy
On 1/25/2011 6:02 PM, rantingrick wrote: This design pattern promotes reuse-ability and encapsulation. However with Fredricks design you cannot configure the contained widgets after creating the instance because the dialog has entered a local event loop brought on by "self.wait_window(self)" whi

Re: adding "Print" menu in wxPython

2011-01-25 Thread rantingrick
On Jan 25, 9:51 pm, Akand Islam wrote: > Thanks for your response. Actually I already know I have to create > "OnPrint" method followed by adding the menu named "Print" that calls > "OnPrint" method. But the problem I am facing is to implement it. Here > are the codes I am adding (from Tutorial) w

Re: How to execute foreing code from Python

2011-01-25 Thread Hidura
Hello, i understand how to execute a command on the terminal in linux, but what i can't get it is the execution of programs and send the data as arguments, the problem is that i can't execute the program and when i execute the program give me an error with the stdin... This is the code:

python interpreter

2011-01-25 Thread nair rajiv
Hi, I was exploring python. I wanted to know more about the python interpreter i.e the technical details of how it has been written. If I am directed to the code that also will be fine. The implementation of python data structures lists, tuples and dictionaries. If there exists any online documen

Re: WxPython versus Tkinter.

2011-01-25 Thread rusi
On Jan 25, 11:15 pm, Terry Reedy wrote: > On 1/25/2011 10:29 AM, rusi wrote: > > > > > Just trying to sift the BS from the real issues > > > Heres a list of the issues relating to GUI toolkits > > > Look > > Nativity-1 (as in apps look like other apps on the OS) > > Nativity-2 (as in uses 'bare-me

Re: WxPython versus Tkinter.

2011-01-25 Thread Littlefield, Tyler
>What do you think Emile? I think that that starts with you. You want to be more accepting when it comes to you, but you've had no problems calling people an idiot and otherwise insulting them just as you are complaining about. On 1/25/2011 6:07 PM, rantingrick wrote: On Jan 25, 6:55 pm, Emile

Re: WxPython versus Tkinter.

2011-01-25 Thread Steven D'Aprano
On Tue, 25 Jan 2011 20:12:23 -0600, Tim Chase wrote: > On 01/25/2011 07:07 PM, rantingrick wrote: >> What is it going to take for you (and others) to take me seriously? > > Easy: Stop ranting, start writing quality code. Quality code is a good thing, but there are people who write good code but

Re: adding "Print" menu in wxPython

2011-01-25 Thread Akand Islam
Thanks for your response. Actually I already know I have to create "OnPrint" method followed by adding the menu named "Print" that calls "OnPrint" method. But the problem I am facing is to implement it. Here are the codes I am adding (from Tutorial) which make an editor and I want to add printing o

Re: WxPython versus Tkinter.

2011-01-25 Thread MRAB
On 26/01/2011 03:10, André wrote: On Tuesday, January 25, 2011 10:12:23 PM UTC-4, Tim Chase wrote: On 01/25/2011 07:07 PM, rantingrick wrote: What is it going to take for you (and others) to take me seriously? Easy: Stop ranting, start writing quality code. +1 André +1 -- http://mail.pyth

Re: WxPython versus Tkinter.

2011-01-25 Thread André
On Tuesday, January 25, 2011 10:12:23 PM UTC-4, Tim Chase wrote: > On 01/25/2011 07:07 PM, rantingrick wrote: > > What is it going to take for you (and others) to take me seriously? > > Easy: Stop ranting, start writing quality code. > +1 André > -tkc -- http://mail.python.org/mailman/listinfo

Re: WxPython versus Tkinter.

2011-01-25 Thread Tim Chase
On 01/25/2011 07:07 PM, rantingrick wrote: What is it going to take for you (and others) to take me seriously? Easy: Stop ranting, start writing quality code. -tkc -- http://mail.python.org/mailman/listinfo/python-list

help with multiprocessing pool

2011-01-25 Thread Craig Yoshioka
Hi all, I could really use some help with a problem I'm having. I wrote a function that can take a pattern of actions and it apply it to the filesystem. It takes a list of starting paths, and a pattern like this: pattern = { InGlob('Test/**'):{ MatchRemove('DS_Store'

Re: WxPython versus Tkinter.

2011-01-25 Thread Bryan
On Jan 25, 7:07 pm, rantingrick wrote: > What is it going to take for you (and others) to take me seriously? If somebody answers that question, will you listen? That will be the first step. I know that may sound facetious but that's not my intention. It's my honest opinion based entirely on this

Re: WxPython versus Tkinter.

2011-01-25 Thread rantingrick
On Jan 25, 7:19 pm, Michael Torrie wrote: > On Sun, 23 Jan 2011 09:21:57 -0800, rantingrick wrote: > > Wait a minute, i am confused? What language is Python written in? Oh > > thats right Lisp! I am so dumb. How did i even get this job? :-) > > What job is this?  Inquiring minds wish to know. On

Re: WxPython versus Tkinter.

2011-01-25 Thread Michael Torrie
On 01/23/2011 02:11 PM, Littlefield, Tyler wrote: > I hardly think that your tone, attitude and arguments are going to help > you in your battle to prove that WXPython is superior to anything at > all, if you can't manage to provide cross-platform bug-free code. Sadly you're wasting your breath

Re: WxPython versus Tkinter

2011-01-25 Thread rantingrick
On Jan 25, 7:10 pm, Nicholas Devenish wrote: > Essentially, if people are hostile to the idea of accepting a > documentation problem, surely they might react the same way to a patch > for it. This is my very point about writing any code. Only a fool would spend years developing a code base if he

Re: WxPython versus Tkinter.

2011-01-25 Thread Michael Torrie
On Sun, 23 Jan 2011 09:21:57 -0800, rantingrick wrote: > Wait a minute, i am confused? What language is Python written in? Oh > thats right Lisp! I am so dumb. How did i even get this job? :-) What job is this? Inquiring minds wish to know. -- http://mail.python.org/mailman/listinfo/python-list

Re: WxPython versus Tkinter.

2011-01-25 Thread rantingrick
On Jan 25, 7:06 pm, Emile van Sebille wrote: > On 1/25/2011 3:57 PM rantingrick said... > > > On Jan 25, 5:47 pm, Emile van Sebille  wrote: > > >> Are third party installations nonsense? > > > Of course not. > > So install wxPython and move on.   See you are missing the point again. The point beh

Re: WxPython versus Tkinter

2011-01-25 Thread Nicholas Devenish
On 26/01/2011 00:40, Ian wrote: Are you referring to ticket #14081? I expect the reason this hasn't been addressed is because nobody has submitted a patch or suggested an improved wording. If you were to make a suggestion, I doubt that anybody would be hostile to the idea of improving the tutor

Re: WxPython versus Tkinter.

2011-01-25 Thread rantingrick
On Jan 25, 6:55 pm, Emile van Sebille wrote: > Oh, that everyone should blindly accept you as is and without regard for > established protocols What protocols? Where is this standard posted? Can you give me a link? I would like to know what is expected of me. > -- we certainly should all jump t

Re: WxPython versus Tkinter.

2011-01-25 Thread Emile van Sebille
On 1/25/2011 3:57 PM rantingrick said... On Jan 25, 5:47 pm, Emile van Sebille wrote: Are third party installations nonsense? Of course not. So install wxPython and move on. Or start doing. Join one of the many GUI projects that would like to be in the standard library and do more tha

Re: WxPython versus Tkinter.

2011-01-25 Thread Emile van Sebille
On 1/25/2011 3:49 PM rantingrick said... On Jan 25, 5:01 pm, Nicholas Devenish wrote: why should I put my time and effort into learning a framework with a community that is so hostile, when there are plenty of alternatives? That is exactly the point i have been making about this community (a

Re: adding "Print" menu in wxPython

2011-01-25 Thread rantingrick
On Jan 25, 5:52 pm, Akand Islam wrote: > > I will appreciate if someone please show me how to add > printing option. Hello Akand, Well the first step would be to create a stub "OnPrint" method and add a command to the File menu named "Print" that calls the "OnPrint" method. Can you do this part

Re: Which is the best book to learn python

2011-01-25 Thread Luis M . González
On Jan 24, 2:09 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 If you are a complete beginner to programming, I suggest start with a tutorial such as "A Byte of Python" (google this). I learned my

Re: WxPython versus Tkinter.

2011-01-25 Thread Ian
On Jan 25, 4:01 pm, Nicholas Devenish wrote: > Personally, no, it probably wouldn't have caused me not to use wx. But > it certainly would have put a mental tick in the against box, because a > frameworks community matters. As a little aside, a personal example is > Django, whose tutorial containe

Re: WxPython versus Tkinter.

2011-01-25 Thread rantingrick
On Jan 25, 6:14 pm, Emile van Sebille wrote: > On 1/25/2011 3:33 PM rantingrick said... > > > Tkinter is old and in many ways insufficient for 21st century GUIs. We > > need to decide what should come next. I believe wxPython is our best > > hope. Wx may not be the best it can be, but it is the be

Re: WxPython versus Tkinter.

2011-01-25 Thread Emile van Sebille
On 1/25/2011 3:33 PM rantingrick said... Tkinter is old and in many ways insufficient for 21st century GUIs. We need to decide what should come next. I believe wxPython is our best hope. Wx may not be the best it can be, but it is the best we have at this time. Then you should immediately volu

Re: WxPython versus Tkinter.

2011-01-25 Thread rantingrick
On Jan 25, 5:47 pm, Emile van Sebille wrote: > Are third party installations nonsense? Of course not. > Or should python come with all > libraries for all potential applications? Again, of course not. No one has suggested such bombastic ideas in this thread, you are the first. > And then alwa

Re: WxPython versus Tkinter.

2011-01-25 Thread Martin v. Loewis
> You'll find that nearly all software used in Europe (and most other parts) > is internationalized or it wouldn't stand a chance. You mean, in lines of code? I very much doubt that. A lot of software gets written, in particular for web servers, that is only German, around here. Nobody thinks this

Fwd: numpy/matlab compatibility

2011-01-25 Thread Andrea Ambu
I replied to Matt only ARGH! -- Forwarded message -- From: Andrea Ambu Date: 25 January 2011 22:36 Subject: Re: numpy/matlab compatibility To: Matt Funk On Tue, Jan 25, 2011 at 9:13 PM, Matt Funk wrote: > > Hi, > > i am fairly new to python. I was wondering of the following

adding "Print" menu in wxPython

2011-01-25 Thread Akand Islam
To make a simple editor using wxPython, sample code is available in wxPython's tutorial page (http://wiki.wxpython.org/ WxHowtoSmallEditor). However, in addition I want to add "print" menu which will print the contents of editor (i.e. whatever written in editor). I will appreciate if someone please

Re: trouble installing MySQLdb (cygwin) + Bonus question

2011-01-25 Thread Matthew Roth
On Jan 25, 6:20 pm, David Robinow wrote: > On Tue, Jan 25, 2011 at 5:59 PM, Matthew Roth wrote: > > On Jan 25, 9:34 pm, John Nagle wrote: > ... > >>     You can install a MySQL server under Windows, and talk to the server > >> from the Cygwin environment.  That's a useful way to test. > > >>    

Re: WxPython versus Tkinter.

2011-01-25 Thread rantingrick
On Jan 25, 5:01 pm, Nicholas Devenish wrote: > why should I put my time and effort into learning a framework > with a community that is so hostile, when there are plenty of alternatives? That is exactly the point i have been making about this community (at c.l.py) We are not as noob friendly as

Re: WxPython versus Tkinter.

2011-01-25 Thread rantingrick
On Jan 25, 4:55 pm, geremy condra wrote: > There's a difference between what you say and how you say it. If a > friend came up to you and said "give me $100 right now!", you probably > wouldn't do it. What if someone was extorting him and he really needed the money "right now"? > If the same fr

Re: WxPython versus Tkinter.

2011-01-25 Thread Emile van Sebille
On 1/25/2011 12:55 PM Octavian Rasnita said... this thread was a "psy-ops" (psychological operations) trick to turn off wxPython adopters by associating it with juvenile nonsense Do you think the need for accessibility is a nonsense? Or do you think it is something juvenile? Are third party

Re: WxPython versus Tkinter.

2011-01-25 Thread rantingrick
On Jan 25, 4:45 pm, Nicholas Devenish wrote: > But this thread is not about that, and the accessibility issue is mostly > a red herring that rantingrick has grabbed hold of to swing around like > a battleaxe, because nobody is going to say that accessibility doesn't > matter. Stop trying to exac

Re: WxPython versus Tkinter.

2011-01-25 Thread rantingrick
On Jan 25, 3:41 pm, Corey Richardson wrote: > Do you honestly think he was talking about the accessibility problem? > IMO that should move to another thread, because this one is simply > about, as the subject suggests, "WxPython versus Tkinter". Corey again (like many) you lack a global perspect

Re: python challenges

2011-01-25 Thread Ben Finney
David Hutto writes: > Python is, of course, a language based on a lower level to allow > higher level interactivity and ease of use. So, to define the > challenges of python, are to define the challenges of what it wraps > around. That seems like a framing of the issue designed to get a particul

Using select.kqueue to monitor garageband transcode completion

2011-01-25 Thread harijay
I want to automate a series of functions in python that trigger when the OSX application Garagband finishes writing to a file called "todays_recording.mp3". A Typical transcode process takes 20 minutes , and I fancy starting the python program immediately after I start the transcode and then walki

Re: trouble installing MySQLdb (cygwin) + Bonus question

2011-01-25 Thread David Robinow
On Tue, Jan 25, 2011 at 5:59 PM, Matthew Roth wrote: > On Jan 25, 9:34 pm, John Nagle wrote: ... >>     You can install a MySQL server under Windows, and talk to the server >> from the Cygwin environment.  That's a useful way to test. >> >>                                         John Nagle > > R

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

2011-01-25 Thread rantingrick
On Jan 25, 3:54 pm, Bryan wrote: > tkinter is likely the easiest solution. Here's a quick hack, [...snip code...] Well this is nice Bryan however it should be much easier than this. Basically your code is creating most of the functionality that should be wrapped up in a Dialog class. Tkinter ha

Re: WxPython versus Tkinter.

2011-01-25 Thread Nicholas Devenish
On 25/01/2011 19:16, CM wrote: On Jan 25, 10:13 am, Nicholas Devenish wrote: I don't know--you sound too reasonable to extrapolate from this goofy thread to a huge toolkit project that has been around for years and is used in project such as Audacity (that's the wxWidgets version, but close eno

Re: trouble installing MySQLdb (cygwin) + Bonus question

2011-01-25 Thread Matthew Roth
On Jan 25, 9:34 pm, John Nagle wrote: > On 1/25/2011 7:05 AM, Matthew Roth wrote: > > > On Jan 25, 4:30 am, Dennis Lee Bieber  wrote: > >> On Mon, 24 Jan 2011 14:25:09 -0800 (PST), Matthew Roth > >>  declaimed the following in > >> gmane.comp.python.general: > >>          Second -- MySQL is a ser

Re: WxPython versus Tkinter.

2011-01-25 Thread geremy condra
On Tue, Jan 25, 2011 at 1:03 PM, Octavian Rasnita wrote: > From: "geremy condra" >> On Tue, Jan 25, 2011 at 11:24 AM, Octavian Rasnita >> wrote: >> >>> Yes, I know, that's life, which is not right, that's faith, bla bla, but it >>> doesn't mean that my atitude need to be changed. >> >> There's

Re: WxPython versus Tkinter.

2011-01-25 Thread Nicholas Devenish
On 25/01/2011 19:24, Octavian Rasnita wrote: Can you tell why? Because you probably don't care about those who can't use the programs made with Tkinter or because you consider the discrimination something normal, right? And you said that it is not a good thing. Good thing for whom? For the bli

Re: numpy/matlab compatibility

2011-01-25 Thread Robert Kern
On 1/25/11 2:13 PM, Matt Funk wrote: Hi, i am fairly new to python. I was wondering of the following is do-able in python: 1) a = rand(10,1) 2) Y = a 3) mask = Y> 100; 4) Y(mask) = 100; 5) a = a+Y Basically i am getting stuck on line 4). I was wondering if it is possible or not with python? (

A http server

2011-01-25 Thread Back9
Hi, I'm trying to set up a http server to handle a single POST request. That POST request is to upload a huge file and the server is supposed to handle it with the just POST request. With my python sample code, multiple post requests are working well, but that is not my solution. I need a single PO

Re: numpy/matlab compatibility

2011-01-25 Thread Nicholas Devenish
On 25/01/2011 20:13, Matt Funk wrote: 1) a = rand(10,1) 2) Y = a 3) mask = Y> 100; 4) Y(mask) = 100; 5) a = a+Y Basically i am getting stuck on line 4). I was wondering if it is possible or not with python? (The above is working matlab code) I don't understand this matlab code completely (I w

Re: python challenges

2011-01-25 Thread Steven D'Aprano
On Tue, 25 Jan 2011 12:40:31 -0800, David Hutto wrote: > Python is, of course, a language based on a lower level to allow higher > level interactivity and ease of use. So, to define the challenges of > python, are to define the challenges of what it wraps around. Moving > from lower level to the

Re: numpy/matlab compatibility

2011-01-25 Thread Steven D'Aprano
On Tue, 25 Jan 2011 13:13:02 -0700, Matt Funk wrote: > Hi, > > i am fairly new to python. I was wondering of the following is do-able > in python: > > 1) a = rand(10,1) > 2) Y = a > 3) mask = Y > 100; > 4) Y(mask) = 100; > 5) a = a+Y > > Basically i am getting stuck on line 4). I was wondering

Re: numpy/matlab compatibility

2011-01-25 Thread Matt Funk
Hi, thank you Andrea. That is exactly what i was looking for. Great. Andrea explained what the Matlab code does below. Sorry about the confusion. I was under the impression that numpy was leaning very heavily on Matlab for its syntax and thus i assumed that Matlab was mostly known for those using

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

2011-01-25 Thread Bryan
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-25 Thread Corey Richardson
On 01/25/2011 03:55 PM, Octavian Rasnita wrote: > >> this thread was a "psy-ops" (psychological >> operations) trick to turn off wxPython adopters by associating it with >> juvenile nonsense > > Do you think the need for accessibility is a nonsense? > Or do you think it is something juvenile? >

Re: trouble installing MySQLdb (cygwin) + Bonus question

2011-01-25 Thread John Nagle
On 1/25/2011 7:05 AM, Matthew Roth wrote: On Jan 25, 4:30 am, Dennis Lee Bieber wrote: On Mon, 24 Jan 2011 14:25:09 -0800 (PST), Matthew Roth declaimed the following in gmane.comp.python.general: Second -- MySQL is a server model DBMS; it doesn't have to be on the local machine.

Re: WxPython versus Tkinter.

2011-01-25 Thread Octavian Rasnita
From: "geremy condra" > On Tue, Jan 25, 2011 at 11:24 AM, Octavian Rasnita wrote: > >> Yes, I know, that's life, which is not right, that's faith, bla bla, but it >> doesn't mean that my atitude need to be changed. > > There's a difference between having an opinion and having an attitude. > Yo

Re: WxPython versus Tkinter.

2011-01-25 Thread Octavian Rasnita
> this thread was a "psy-ops" (psychological operations) trick to turn off wxPython adopters by associating it with juvenile nonsense Do you think the need for accessibility is a nonsense? Or do you think it is something juvenile? Octavian -- http://mail.python.org/mailman/listinfo/python-lis

PyBluez for iPhone

2011-01-25 Thread Rouzbeh Torki
Hi, My name is Rouzbeh. I work with Python and PyBluez on my laptop. I have already installed Python on my iPhone. But I want to work with iPhone-Bluetooth so I need Bluetooth Library in Python ( like PyBluez ). Is there any Bluetooth library for iphone in python or not ? where can I download the

Re: numpy/matlab compatibility

2011-01-25 Thread Jerry Hill
On Tue, Jan 25, 2011 at 3:13 PM, Matt Funk wrote: > 1) a = rand(10,1) > 2) Y = a > 3) mask = Y > 100; > 4) Y(mask) = 100; > 5) a = a+Y > > Basically i am getting stuck on line 4). I was wondering if it is > possible or not with python? > (The above is working matlab code) > For those of us who d

python challenges

2011-01-25 Thread David Hutto
Python is, of course, a language based on a lower level to allow higher level interactivity and ease of use. So, to define the challenges of python, are to define the challenges of what it wraps around. Moving from lower level to the higher level of python, what needs to take place at each level o

Re: WxPython versus Tkinter.

2011-01-25 Thread Emile van Sebille
On 1/25/2011 11:38 AM Octavian Rasnita said... From: "Terry Reedy" Good as far as it goes, but this list leaves out several requirements (already posted by me, Steve Hansen, and others) for a Python 3 new stdlib module. It does not matter for the stdlib if wxpython is 3 times as good as tkinter,

Re: WxPython versus Tkinter.

2011-01-25 Thread Emile van Sebille
On 1/25/2011 11:25 AM rantingrick said... Classic insanity. Emile -- http://mail.python.org/mailman/listinfo/python-list

Re: trouble installing MySQLdb (cygwin) + Bonus question

2011-01-25 Thread Matthew Roth
Thank you. I appreciate you explanation and tolerance of my ignorance. However unfortunate, this still does not solve my major issue. -- http://mail.python.org/mailman/listinfo/python-list

Re: WxPython versus Tkinter.

2011-01-25 Thread rantingrick
On Jan 25, 2:01 pm, geremy condra wrote: > On Tue, Jan 25, 2011 at 11:24 AM, Octavian Rasnita wrote: > > Yes, I know, that's life, which is not right, that's faith, bla bla, but it > > doesn't mean that my atitude need to be changed. > > There's a difference between having an opinion and having

numpy/matlab compatibility

2011-01-25 Thread Matt Funk
Hi, i am fairly new to python. I was wondering of the following is do-able in python: 1) a = rand(10,1) 2) Y = a 3) mask = Y > 100; 4) Y(mask) = 100; 5) a = a+Y Basically i am getting stuck on line 4). I was wondering if it is possible or not with python? (The above is working matlab code) than

Re: WxPython versus Tkinter.

2011-01-25 Thread rantingrick
On Jan 25, 1:35 pm, "Octavian Rasnita" wrote: > From: "rantingrick" > > > Availability of gui builder > > +0 both > > I thought that there are a few GUI builders for Wx. Isn't this true? Oops! Yes it seems there are. I was unaware of them since i never use GUI builders. So another +1 for wxPytho

Re: WxPython versus Tkinter.

2011-01-25 Thread rantingrick
On Jan 25, 1:40 pm, CM wrote: > At this point, can Python be used for app development on any mobile > phone (realistically)? No as long as Tkinter is in the stdlib (if your talking stdlib?) -- http://mail.python.org/mailman/listinfo/python-list

Re: WxPython versus Tkinter.

2011-01-25 Thread geremy condra
On Tue, Jan 25, 2011 at 11:24 AM, Octavian Rasnita wrote: > Yes, I know, that's life, which is not right, that's faith, bla bla, but it > doesn't mean that my atitude need to be changed. There's a difference between having an opinion and having an attitude. You have both, and it doesn't do you

Re: WxPython versus Tkinter.

2011-01-25 Thread geremy condra
On Tue, Jan 25, 2011 at 11:40 AM, CM wrote: > On Jan 25, 2:33 pm, geremy condra wrote: >> On Tue, Jan 25, 2011 at 11:16 AM, CM wrote: >> > I guess for Android one can already develop with PyQt >> > and it will run on desktop or phone? >> >> No. It's very difficult to do real development on andro

Re: WxPython versus Tkinter.

2011-01-25 Thread Octavian Rasnita
From: "Terry Reedy" To: Sent: Tuesday, January 25, 2011 8:07 PM Subject: Re: WxPython versus Tkinter. > On 1/25/2011 7:03 AM, Bob Martin wrote: > >> "I bet not much" - there you go again ;-) >> You'll find that nearly all software used in Europe (and most other parts) >> is internationalized o

Re: WxPython versus Tkinter.

2011-01-25 Thread Octavian Rasnita
From: "Bob Martin" ... >>Do non-US-based developers focus a lot on accessibility too, since >>that's what really started this whole sub-thread? > > I don't think so; it was never a requirement for the software I wrote, > though I know I had some blind users. But NLS was a must and it has > to be

Re: WxPython versus Tkinter.

2011-01-25 Thread Octavian Rasnita
From: "Terry Reedy" > Good as far as it goes, but this list leaves out several requirements > (already posted by me, Steve Hansen, and others) for a Python 3 new > stdlib module. It does not matter for the stdlib if wxpython is 3 times > as good as tkinter, by some measure, as long as it is ine

Re: WxPython versus Tkinter.

2011-01-25 Thread Octavian Rasnita
From: "rantingrick" > Availability of gui builder +0 both I thought that there are a few GUI builders for Wx. Isn't this true? Octavian -- http://mail.python.org/mailman/listinfo/python-list

Re: WxPython versus Tkinter.

2011-01-25 Thread Octavian Rasnita
From: "Bryan" Do non-US-based developers focus a lot on accessibility too, since that's what really started this whole sub-thread? Almost nobody focuses on accessibility, and nobody should focus on accessibility. If you target a program for your national population and your national population

Re: WxPython versus Tkinter.

2011-01-25 Thread Octavian Rasnita
From: "Nicholas Devenish" > I can't speak for everyone (I don't have that presumption), but to me, > given the two data points, you are certainly coming across as more > level-headed, and thus representative. Octavians posts sound more and > more like rantingricks as time goes on, which is not

Re: WxPython versus Tkinter.

2011-01-25 Thread CM
On Jan 25, 2:33 pm, geremy condra wrote: > On Tue, Jan 25, 2011 at 11:16 AM, CM wrote: > > Another interesting issue in this is mobile phone app development.  It > > is frustrating to devote a lot of time to learning a desktop widget > > toolkit and Python and while that is occurring the culture

Re: WxPython versus Tkinter.

2011-01-25 Thread geremy condra
On Tue, Jan 25, 2011 at 11:16 AM, CM wrote: > Another interesting issue in this is mobile phone app development.  It > is frustrating to devote a lot of time to learning a desktop widget > toolkit and Python and while that is occurring the culture moves more > and more toward app use in which tha

Re: WxPython versus Tkinter.

2011-01-25 Thread rantingrick
On Jan 25, 12:15 pm, Terry Reedy wrote: > On 1/25/2011 10:29 AM, rusi wrote: > > > > > > > > > > > Just trying to sift the BS from the real issues > > > Heres a list of the issues relating to GUI toolkits > > > Look > > Nativity-1 (as in apps look like other apps on the OS) > > Nativity-2 (as in u

Re: WxPython versus Tkinter.

2011-01-25 Thread CM
On Jan 25, 10:13 am, Nicholas Devenish wrote: Nicholas, > I think even more damaging to any python newcomers than choosing the > 'wrong' gui toolkit would be stumbling across this thread whilst looking > for a toolkit; and thinking some of the behaviour here was > representative of the python (o

Re: Which is the best book to learn python

2011-01-25 Thread David Hutto
Building Skills In Python has been a great learning tool, and reference(I don't exactly learn linearly): homepage.mac.com/s_lott/books/python.html -- http://mail.python.org/mailman/listinfo/python-list

Re: documentation / reference help

2011-01-25 Thread Benjamin Kaplan
On Jan 25, 2011 1:19 PM, "Craig Leffel" wrote: > > Where does it return the value to? > > What do I need to put in the calling function so that I can use that value? > I need a variable name to refer to. Shouldn't I have to define that variable > someplace? > Python functions are like mathematica

Re: WxPython versus Tkinter.

2011-01-25 Thread Terry Reedy
On 1/25/2011 10:29 AM, rusi wrote: Just trying to sift the BS from the real issues Heres a list of the issues relating to GUI toolkits Look Nativity-1 (as in apps look like other apps on the OS) Nativity-2 (as in uses 'bare-metal' and not a separate interpreter) Themeing (ttk) Efficiency (extr

Re: documentation / reference help

2011-01-25 Thread Craig Leffel
Where does it return the value to? What do I need to put in the calling function so that I can use that value? I need a variable name to refer to. Shouldn't I have to define that variable someplace? "Littlefield, Tyler" wrote in message news:mailman.1103.1295811520.6505.python-l...@python.org...

Re: WxPython versus Tkinter.

2011-01-25 Thread Terry Reedy
On 1/25/2011 7:03 AM, Bob Martin wrote: "I bet not much" - there you go again ;-) You'll find that nearly all software used in Europe (and most other parts) is internationalized or it wouldn't stand a chance. I suspected that is true of today's Europe, but do you have any evidence that softwa

Re: Which is the best book to learn python

2011-01-25 Thread Tim Harig
On 2011-01-25, Mark Summerfield wrote: > On Jan 24, 5:09 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 > > If you want to learn Python 3 and have some prior programming > experience (in any mod

Re: Behaviour-based interface/protocol implementation?

2011-01-25 Thread Terry Reedy
On 1/25/2011 10:32 AM, Alan Franzoni wrote: You're right, I forgot about subclass check. But that's really a placebo, because it statically checks the object's *class* for such method, That is exactly the proper check. Instance *methods* are defined on the class. > not the actual instance:

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

2011-01-25 Thread dmaziuk
D'oh. You're right, of course. Thank you Dima -- http://mail.python.org/mailman/listinfo/python-list

Re: WxPython versus Tkinter.

2011-01-25 Thread rantingrick
On Jan 25, 9:37 am, Bob Martin wrote: > I don't think so; it was never a requirement for the software I wrote, > though I know I had some blind users.  But NLS was a must and it has > to be designed in from the start - very difficult to add it later. Thats the point i keep trying to make about a

Re: WxPython versus Tkinter.

2011-01-25 Thread rantingrick
On Jan 25, 9:29 am, rusi wrote: > Just trying to sift the BS from the real issues > > Heres a list of the issues relating to GUI toolkits Finally someone who knows what the argument is really about! Thanks rusi! > Look There is no doubt wxPython has better look and feel. (+1 wx) > Nativity-1

Re: WxPython versus Tkinter.

2011-01-25 Thread rantingrick
On Jan 25, 9:13 am, Nicholas Devenish wrote: > I think even more damaging to any python newcomers than choosing the > 'wrong' gui toolkit would be stumbling across this thread whilst looking > for a toolkit; and thinking some of the behaviour here was > representative of the python (or wx) commun

Re: WxPython versus Tkinter.

2011-01-25 Thread Octavian Rasnita
From: "Littlefield, Tyler" > >Wow! I, I, I, I... is there a sentence that doesn't talk about your > self interests? > It is clear you have been taking lessons from RR; the word I does not > convey self interest, in fact, it is the best word suited to speaking of > oppinions (which is all that t

Re: Which is the best book to learn python

2011-01-25 Thread John Pinner
On Jan 25, 8:56 am, Mark Summerfield wrote: > On Jan 24, 5:09 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 > > If you want to learn Python 3 and have some prior programming > experience (

Re: WxPython versus Tkinter.

2011-01-25 Thread Bob Martin
in 650680 20110125 151901 Bryan wrote: >On Jan 25, 6:03=A0am, Bob Martin wrote: >> in 650672 20110125 115033 Bryan wrote: >> >> Do you think the whole world speaks US English? >> >> >No, absolutely not. I don't see how you go from "I don't thi

Re: Behaviour-based interface/protocol implementation?

2011-01-25 Thread Alan Franzoni
On Tue, Jan 25, 2011 at 7:55 AM, Chris Rebert wrote: > Not true actually: > > Python 2.7.1 (r271:86832, Dec  5 2010, 00:12:20) > [GCC 4.2.1 (Apple Inc. build 5664)] on darwin > Type "help", "copyright", "credits" or "license" for more information. class MyContainer(object):# no special inheri

Re: WxPython versus Tkinter.

2011-01-25 Thread rusi
Just trying to sift the BS from the real issues Heres a list of the issues relating to GUI toolkits Look Nativity-1 (as in apps look like other apps on the OS) Nativity-2 (as in uses 'bare-metal' and not a separate interpreter) Themeing (ttk) Efficiency (extra interpreter) Cross Platform Stabili

Re: WxPython versus Tkinter.

2011-01-25 Thread Bryan
On Jan 25, 6:03 am, Bob Martin wrote: > in 650672 20110125 115033 Bryan wrote: > >> Do you think the whole world speaks US English? > > >No, absolutely not. I don't see how you go from "I don't think all > >developers think about i18n" to "I th

Re: trouble installing MySQLdb (cygwin) + Bonus question

2011-01-25 Thread Nitin Pawar
Nothing againest mysqlDB but I had tried using it sometimes and found it little difficult to use when you left the connections open idle for sometime . I had used PySQLPool then to solve my issues. Give it a try, I would recommend it. Thanks, nitin On Tue, Jan 25, 2011 at 8:35 PM, Matthew Roth

  1   2   >