Re: WxPython versus Tkinter.

2011-01-25 Thread Bob Martin
in 650595 20110124 192332 Bryan wrote: >On Jan 24, 12:05=A0pm, rantingrick wrote: >> On Jan 24, 12:00=A0pm, Bryan wrote: >> >> > Accessibility, like internationalization, is something few programmers >> > spend much time thinking about. >> >> Thats another uninformed statement by you we can add

Re: WxPython versus Tkinter.

2011-01-25 Thread Stephen Hansen
On 1/24/11 10:44 PM, Octavian Rasnita wrote: > Or is there a God law that tells that only Tk-based GUIs can be included > in Python? There is no other viable option at this time for inclusion in the standard library; that's simple fact. There are options for people to write GUI's in python that a

Re: [Code Challenge] WxPython versus Tkinter.

2011-01-25 Thread Stephen Hansen
On 1/24/11 11:58 AM, Octavian Rasnita wrote: >> From: "Ethan Furman" >> Please do not repost rr's crap in its entirety, or you'll find yourself >> added to many killfiles -- just like he is. > I am not posting anyone's crap. I just informed why Tkinter is bad. > And I also don't say that WxPython

Re: Which is the best book to learn python

2011-01-25 Thread Mark Summerfield
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 modern procedural or object oriented language), you m

which scipy binary for Win32

2011-01-25 Thread Adam
Am looking at http://sourceforge.net/projects/scipy/files/scipy/0.8.0/ and I wonder which is the binary to install on WinXP ? As pointed to by this page, http://www.scipy.org/Download All I can see on that sourceforge page are the huge python2.6 and python2.7 Powerpacks, at 43megs or so each.

Re: WxPython versus Tkinter.

2011-01-25 Thread Littlefield, Tyler
RR, I do hate to break the news to you, but I am -blind-, which is why I am using a screen reader. So I'm not parking anywhere--the DMV refuses to give me a license for some odd reason. What was that post about IQ you made earlier?... -- http://mail.python.org/mailman/listinfo/python-list

Re: WxPython versus Tkinter.

2011-01-25 Thread Octavian Rasnita
From: "rantingrick" 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 invoke a flame war; which is the definition of Godwins Law. It is a fact that Tyler displayed despicable intoler

Re: which scipy binary for Win32

2011-01-25 Thread Dave Hirschfeld
Adam example.com> writes: > > Am looking at > http://sourceforge.net/projects/scipy/files/scipy/0.8.0/ > and I wonder which is the binary to install on WinXP ? > As pointed to by this page, http://www.scipy.org/Download > > All I can see on that sourceforge page are the huge > python2.6 and

Finding the right Python executable on Windows

2011-01-25 Thread Geoff Bache
Hi all, I have a Python process on Windows and would like to start a Python subprocess using the same interpreter. I wonder how to go about this? First, I tried the obvious subprocess.Popen([ sys.executable, "subproc.py", ... ]) but that fails, because my process has a "native launcher", (i.e.

Re: WxPython versus Tkinter.

2011-01-25 Thread Bryan
On Jan 25, 2:02 am, Bob Martin wrote: > in 650595 20110124 192332 Bryan wrote: > > > > > > >On Jan 24, 12:05=A0pm, rantingrick wrote: > >> On Jan 24, 12:00=A0pm, Bryan wrote: > > >> > Accessibility, like internationalization, is something few programmers > >> > spend much time thinking about. >

Re: WxPython versus Tkinter.

2011-01-25 Thread Bob Martin
in 650672 20110125 115033 Bryan wrote: >On Jan 25, 2:02=A0am, Bob Martin wrote: >> in 650595 20110124 192332 Bryan wrote: >> >> >> >> >> >> >On Jan 24, 12:05=3DA0pm, rantingrick wrote: >> >> On Jan 24, 12:00=3DA0pm, Bryan wr

Re: WxPython versus Tkinter.

2011-01-25 Thread python
Mark, > From my queries to some of the Tcl/Tk folks, it seems that while the > knowledge and expertise is not present in the core developer community, they would be more than happy to help people who do have some knowledge in this area so that Tk could be made to be more accessible. Some ideas

Re: WxPython versus Tkinter.

2011-01-25 Thread Ethan Furman
-plonk- -- http://mail.python.org/mailman/listinfo/python-list

Re: WxPython versus Tkinter.

2011-01-25 Thread 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 these are), in the first person. Lets m

Re: Finding the right Python executable on Windows

2011-01-25 Thread Brian Curtin
On Tue, Jan 25, 2011 at 04:25, Geoff Bache wrote: > Hi all, > > I have a Python process on Windows and would like to start a Python > subprocess using the same interpreter. I wonder how to go about this? > > First, I tried the obvious > > subprocess.Popen([ sys.executable, "subproc.py", ... ]) >

Re: which scipy binary for Win32

2011-01-25 Thread David Cournapeau
On Tue, Jan 25, 2011 at 6:24 PM, Adam wrote: > Am looking at > http://sourceforge.net/projects/scipy/files/scipy/0.8.0/ > and I wonder which is the binary to install on WinXP ? > As pointed to by this page, http://www.scipy.org/Download > > All I can see on that sourceforge page are the huge > pyt

Re: trouble installing MySQLdb (cygwin) + Bonus question

2011-01-25 Thread Matthew Roth
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: > > > > > I've explored various avenues all day to no avail. Can anyone offer a > > solution or a direction to work towards. One avenue w

Re: WxPython versus Tkinter.

2011-01-25 Thread Nicholas Devenish
On 25/01/2011 14:11, Littlefield, Tyler wrote: My preaching done with, I'd like to urge everyone to put this in a bit of perspective; essentially, what I don't want is someone walking away with Octavian's attitude as a stariotype for us all. I can't speak for everyone (I don't have that presump

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

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: 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: 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 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: 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 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: 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 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: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: [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: 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: 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: 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: 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 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 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: 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: 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: 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 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 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 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 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: "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: "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: "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" 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 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 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 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 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

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, 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

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 Emile van Sebille
On 1/25/2011 11:25 AM rantingrick said... Classic insanity. Emile -- http://mail.python.org/mailman/listinfo/python-list

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,

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: 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

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: 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

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: 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 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: 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: 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: 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: 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 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

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 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? (

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: 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: 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 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: 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: 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

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: 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

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: 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 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: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 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: 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. > > >>    

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

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

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

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 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, 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 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: 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: 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: 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: 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 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 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, 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 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: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 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

  1   2   >