Re: [Tkinter-discuss] WxPython - Tkinter

2008-10-29 Thread Guilherme Polo
program that I made. The problem was that when I tried to move the frame it would hang until the scan was finished. To solve this I had to add wx.SafeYield(self, True) to the scan and the GUI wouldn't hang any more. Now I have redone the program and have written it with Tkinter instead

Re: [Tkinter-discuss] WxPython - Tkinter

2008-10-29 Thread Guilherme Polo
On 10/29/08, Guilherme Polo [EMAIL PROTECTED] wrote: On 10/29/08, Olrik Lenstra [EMAIL PROTECTED] wrote: Hello everyone, A while ago I joined the Tutor mailing list, and they helped me out with a question regarding wxPython. Now however, I have tried a program in Tkinter and I

Re: Issues of state (was: Tkinter or wxpython?)

2007-08-09 Thread Cameron Laird
In article [EMAIL PROTECTED], Paul Rubin http://[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] (Cameron Laird) writes: Others have answered this at other levels. In elementary terms, there truly is a difference, Paul, and one that's widely reified: a desktop client-server application typically

Re: Issues of state (was: Tkinter or wxpython?)

2007-08-08 Thread Paul Rubin
communicates with a gui toolkit through a socket (at least that's how X windows works), or you can write a web app where a browser communicates with an http listener through a socket. What's the difference, as far as application state is concerned? I haven't used wxpython but for tkinter you'd

Re: Issues of state (was: Tkinter or wxpython?)

2007-08-08 Thread Hendrik van Rooyen
wxpython but for tkinter you'd typically have a gui event loop in its own thread, communicating with the application through queues. Similarly you can use BaseHTTPServer to collect browser hits and get the data out of them with the cgi module functions before passing them to the app. If you want

Re: Tkinter or wxpython?

2007-08-08 Thread Kevin Walzer
Cameron Laird wrote: While those with an artistic eye assure me the simplest Tkinter programs look worse that corresponding ones built with any other toolkit, they behave the most coherently in regards to resizing and so on. Look worse can be addressed through extensive means: through

Re: Tkinter or wxpython?

2007-08-08 Thread Chris Mellon
On 8/8/07, Kevin Walzer [EMAIL PROTECTED] wrote: Cameron Laird wrote: While those with an artistic eye assure me the simplest Tkinter programs look worse that corresponding ones built with any other toolkit, they behave the most coherently in regards to resizing and so on. Look

Re: Tkinter or wxpython?

2007-08-08 Thread Kevin Walzer
Chris Mellon wrote: On 8/8/07, Kevin Walzer [EMAIL PROTECTED] wrote: Using Tile, of course, loses you the first major benefit of Tk - that it's already included in the standard library. So in this sense it's still ugly old school look and feel vs no external dependencies, which is the swing

Re: Tkinter or wxpython?

2007-08-08 Thread Chris Mellon
On 8/8/07, Kevin Walzer [EMAIL PROTECTED] wrote: Chris Mellon wrote: On 8/8/07, Kevin Walzer [EMAIL PROTECTED] wrote: Using Tile, of course, loses you the first major benefit of Tk - that it's already included in the standard library. So in this sense it's still ugly old school look and

Re: Tkinter or wxpython?

2007-08-08 Thread Kevin Walzer
Chris Mellon wrote: What do you mean here? Things like keyboard accelerators, menu placement, and so on? Those things are already natively implemented by Tk, and the developer just needs to invoke them. Sometimes some conditional code is required for stuff like keyboard accelerators (the tk

Re: Tkinter or wxpython?

2007-08-08 Thread Chris Mellon
On 8/8/07, Kevin Walzer [EMAIL PROTECTED] wrote: Chris Mellon wrote: What do you mean here? Things like keyboard accelerators, menu placement, and so on? Those things are already natively implemented by Tk, and the developer just needs to invoke them. Sometimes some conditional code is

Re: Issues of state (was: Tkinter or wxpython?)

2007-08-08 Thread Cameron Laird
a socket (at least that's how X windows works), or you can write a web app where a browser communicates with an http listener through a socket. What's the difference, as far as application state is concerned? I haven't used wxpython but for tkinter you'd typically have a gui event loop in its

Re: Issues of state (was: Tkinter or wxpython?)

2007-08-08 Thread Paul Rubin
[EMAIL PROTECTED] (Cameron Laird) writes: Others have answered this at other levels. In elementary terms, there truly is a difference, Paul, and one that's widely reified: a desktop client-server application typically listens through one socket, which therefore constitutes an index of the

Re: Tkinter or wxpython?

2007-08-07 Thread Chris Mellon
On 06 Aug 2007 15:25:51 -0700, Paul Rubin http://phr.cx@nospam.invalid wrote: Chris Mellon [EMAIL PROTECTED] writes: You repeatedly have used the word slickness as a pejorative. I find that offensive and it's insulting to users. When I write applications, I want the interface to be as

Issues of state (was: Tkinter or wxpython?)

2007-08-07 Thread Cameron Laird
In article [EMAIL PROTECTED], Chris Mellon [EMAIL PROTECTED] wrote: . [scores of lines of vigorous debate] . . Moreover, if you *don't* need global access or zero-deployment (zero-deployment is

Which GUI toolkit (was: Tkinter or wxpython?)

2007-08-07 Thread Cameron Laird
In article [EMAIL PROTECTED], Bryan Hepworth [EMAIL PROTECTED] wrote: . [waaay too much quoted text for my taste] . . I'm not trying to claim that there are no benefits to

Re: Tkinter or wxpython?

2007-08-07 Thread Cameron Laird
In article [EMAIL PROTECTED], Paul Rubin http://[EMAIL PROTECTED] wrote: . . . I should also add: there is also the possibility of running a Python program with an embedded http server on the same desktop as the browser,

Re: Tkinter or wxpython?

2007-08-07 Thread kyosohma
On Aug 7, 9:00 am, [EMAIL PROTECTED] (Cameron Laird) wrote: In article [EMAIL PROTECTED], Paul Rubin http://[EMAIL PROTECTED] wrote: . . . I should also add: there is also the possibility of running a Python program

Re: Tkinter or wxpython?

2007-08-06 Thread kyosohma
On Aug 2, 7:00 pm, wang frank [EMAIL PROTECTED] wrote: Hi, I want to build a GUI to execut python script. I found TKinter and wxpython. Which one is easier for a newbie? and which one is better? Thanks Frank

Re: Tkinter or wxpython?

2007-08-06 Thread Paul Rubin
started out with C++, I find wxPython better than Tkinter, but it's all pretty subjective. Try them both! Tkinteger (dang, I always end up typing it that way, I won't even bother fixing the error) is easy to use for simple gui's, and it's part of the standard python distro which for me is a big

Re: Tkinter or wxpython?

2007-08-06 Thread kyosohma
and feel I needed the widgets that wxPython provided. Since I started out with C++, I find wxPython better than Tkinter, but it's all pretty subjective. Try them both! Tkinteger (dang, I always end up typing it that way, I won't even bother fixing the error) is easy to use for simple gui's

Re: Tkinter or wxpython?

2007-08-06 Thread Chris Mellon
the right look and feel I needed the widgets that wxPython provided. Since I started out with C++, I find wxPython better than Tkinter, but it's all pretty subjective. Try them both! Tkinteger (dang, I always end up typing it that way, I won't even bother fixing the error) is easy to use

Re: Tkinter or wxpython?

2007-08-06 Thread Paul Rubin
[EMAIL PROTECTED] writes: I agree that making web apps is probably the way of the future. However, there are lots of security risks involved with it that need to be understood. One of the problems that raging is about AJAX, see here:

Re: Tkinter or wxpython?

2007-08-06 Thread Paul Rubin
Chris Mellon [EMAIL PROTECTED] writes: No native look and feel - constrained by the browser. Might or might not matter for the application, especially considering that tkinter is part of the discussion. No control over browser UI idioms. I had to write this post twice because the text control

Re: Tkinter or wxpython?

2007-08-06 Thread kyosohma
though. However, since I had to rewrite VBA apps into Python, to get the right look and feel I needed the widgets that wxPython provided. Since I started out with C++, I find wxPython better than Tkinter, but it's all pretty subjective. Try them both! Tkinteger (dang, I always end up

Re: Tkinter or wxpython?

2007-08-06 Thread Kevin Walzer
Paul Rubin wrote: Tkinteger (dang, I always end up typing it that way, I won't even bother fixing the error) is easy to use for simple gui's, and it's part of the standard python distro which for me is a big advantage (no extra crap to download). However, the widget set is rather ugly and

Re: Tkinter or wxpython?

2007-08-06 Thread Chris Mellon
On 06 Aug 2007 08:20:20 -0700, Paul Rubin http://phr.cx@nospam.invalid wrote: Chris Mellon [EMAIL PROTECTED] writes: No native look and feel - constrained by the browser. Might or might not matter for the application, especially considering that tkinter is part of the discussion. The point

Re: Tkinter or wxpython?

2007-08-06 Thread Paul Rubin
Paul Rubin http://[EMAIL PROTECTED] writes: No native integration - no open file, no browse the filesystem, no rich drag and drop, no copy/paste. File i/o and file system browsing are available from javascript if the user grants permission. File system browsing for the limited purpose of

Re: Tkinter or wxpython?

2007-08-06 Thread Paul Rubin
Chris Mellon [EMAIL PROTECTED] writes: Might or might not matter for the application, especially considering that tkinter is part of the discussion. The point is that you have no option with the browser - even Tkinter has platform theming support now. Hmm, I don't know anything about that.

Re: Tkinter or wxpython?

2007-08-06 Thread kyosohma
On Aug 6, 10:27 am, Kevin Walzer [EMAIL PROTECTED] wrote: Paul Rubin wrote: Tkinteger (dang, I always end up typing it that way, I won't even bother fixing the error) is easy to use for simple gui's, and it's part of the standard python distro which for me is a big advantage (no extra

Re: Tkinter or wxpython?

2007-08-06 Thread Chris Mellon
the assumption that, starting from zero, it is less complicated to write a web application, much less a pretend web app using a local web server, than a desktop application using Tkinter (ick) or wxPython or pyQt. I would also challenge the assumption that 'a lot of the time' you can get away

Re: Tkinter or wxpython?

2007-08-06 Thread Kevin Walzer
[EMAIL PROTECTED] wrote: I tried the PMW widget toolkit. It was ok, but it seemed kind of buggy. I found out about Tix on a forum of some sort. When I tried to find out how to get it and use it, all I found was conflicting information. I finally got it downloaded only to find I had to

Re: Tkinter or wxpython?

2007-08-06 Thread Steve Holden
Chris Mellon wrote: On 06 Aug 2007 09:44:15 -0700, Paul Rubin http://phr.cx@nospam.invalid wrote: Chris Mellon [EMAIL PROTECTED] writes: [...] Again, it all depends on what you're trying to do. For data entry stuff you probably want the data on a remote server anyway, and you can do basic

Re: Tkinter or wxpython?

2007-08-06 Thread Bryan Hepworth
complicated to write a web application, much less a pretend web app using a local web server, than a desktop application using Tkinter (ick) or wxPython or pyQt. I would also challenge the assumption that 'a lot of the time' you can get away with a simple HTML interface, at least by my personal

Re: Tkinter or wxpython?

2007-08-06 Thread kyosohma
On Aug 6, 12:49 pm, Kevin Walzer [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: I tried the PMW widget toolkit. It was ok, but it seemed kind of buggy. I found out about Tix on a forum of some sort. When I tried to find out how to get it and use it, all I found was conflicting

Re: Tkinter or wxpython?

2007-08-06 Thread Paul Rubin
the assumption that, starting from zero, it is less complicated to write a web application, much less a pretend web app using a local web server, than a desktop application using Tkinter (ick) or wxPython or pyQt. I would also challenge the assumption that 'a lot of the time' you can get away with a simple

Re: Tkinter or wxpython?

2007-08-06 Thread Paul Rubin
[EMAIL PROTECTED] writes: Yeah...I would assume I would enjoy Tkinter more if I knew more tcl. Until that day arrives though, it will probably still be fairly confusing for me to figure out. I do like it's pythonic style though. I've managed to program tkinter without knowing anything about

Re: Tkinter or wxpython?

2007-08-06 Thread Chris Mellon
On 06 Aug 2007 12:10:44 -0700, Paul Rubin http://phr.cx@nospam.invalid wrote: Chris Mellon [EMAIL PROTECTED] writes: snip over-long thread I had a bunch of replies to each section but I think this is getting too long so I'll sum up. You repeatedly have used the word slickness as a pejorative.

Re: Tkinter or wxpython?

2007-08-06 Thread [EMAIL PROTECTED]
On Aug 2, 8:00 pm, wang frank [EMAIL PROTECTED] wrote: Hi, I want to build a GUI to execut python script. I found TKinter and wxpython. Which one is easier for a newbie? and which one is better? If you want to have a native look and feel, I'd choose wxpython (probably the Dabo builder

Re: Tkinter or wxpython?

2007-08-06 Thread Paul Rubin
Chris Mellon [EMAIL PROTECTED] writes: You repeatedly have used the word slickness as a pejorative. I find that offensive and it's insulting to users. When I write applications, I want the interface to be as smooth and trouble free as possible, It's a perjorative when it's done for its own

Re: Tkinter or wxpython?

2007-08-05 Thread Raúl Gómez C.
to execut python script. I found TKinter and wxpython. Which one is easier for a newbie? and which one is better? Well, Tkinter comes with Python, so newbies can get up and running straight away without having to download and install anything else. And there are probably lots more examples out

Re: Tkinter or wxpython?

2007-08-05 Thread Jerry McBride
wang frank wrote: Hi, I want to build a GUI to execut python script. I found TKinter and wxpython. Which one is easier for a newbie? and which one is better? Tkiner is much easier to work with, but doesn't have the fine controls that wx offers... -- Jerry McBride -- http

Re: Tkinter or wxpython?

2007-08-03 Thread Glenn Hutchings
On Aug 3, 1:00 am, wang frank [EMAIL PROTECTED] wrote: I want to build a GUI to execut python script. I found TKinter and wxpython. Which one is easier for a newbie? and which one is better? Well, Tkinter comes with Python, so newbies can get up and running straight away without having

Tkinter or wxpython?

2007-08-02 Thread wang frank
Hi, I want to build a GUI to execut python script. I found TKinter and wxpython. Which one is easier for a newbie? and which one is better? Thanks Frank _ 豪華!大リーグ観戦ツアーや高級外車が当たるスペシャルキャンペーンをお見逃しな く http://clk.atdmt.com/GBL/go

Re: Choosing Tkinter over wxPython...

2007-07-10 Thread Eric Brunel
On Mon, 09 Jul 2007 23:08:20 +0200, Kevin Walzer [EMAIL PROTECTED] wrote: I've spent some time playing with both, and while wxPython is nice, Tkinter just seems to fit my head better, and with appropriate selection of widgets and interface design, seems to yield up perfectly usable

Re: Choosing Tkinter over wxPython...

2007-07-10 Thread martin . laloux
me to because of the problem of the new versions of wxpython not compatible with the old ones (try to run a script done with wxpython 3, 4, 5 even 6 with wxpython 2.8.x). Each time, I must re-examine all my old scripts. Tkinter, although less beautiful, is more stable --

Choosing Tkinter over wxPython...

2007-07-09 Thread Kevin Walzer
I've spent some time playing with both, and while wxPython is nice, Tkinter just seems to fit my head better, and with appropriate selection of widgets and interface design, seems to yield up perfectly usable GUI's. Can anyone else who finds Tkinter better for them than wxPython (or the other

Re: Choosing Tkinter over wxPython...

2007-07-09 Thread James Matthews
Sorry i am a wxpython person! TKinter wouldn't work for me so i moved to wxPython. However try pyQT or pyGTK both seem to be good toolkits and have large user bases On 7/9/07, Kevin Walzer [EMAIL PROTECTED] wrote: I've spent some time playing with both, and while wxPython is nice, Tkinter just

Re: Choosing Tkinter over wxPython...

2007-07-09 Thread [EMAIL PROTECTED]
On Jul 9, 4:08 pm, Kevin Walzer [EMAIL PROTECTED] wrote: I've spent some time playing with both, and while wxPython is nice, Tkinter just seems to fit my head better, and with appropriate selection of widgets and interface design, seems to yield up perfectly usable GUI's. Can anyone else who

Re: subprocess.Popen() redirecting to TKinter or WXPython textwidget???

2005-01-27 Thread paul koelle
Ivo Woltring wrote: The output of mencoder is not readable with readlines (i tried it) because after the initial informational lines You don't get lines anymore (you get a linefeed but no newline) The prints are all on the same line (like a status line) something like Pos: 3,1s 96f ( 0%)

Re: subprocess.Popen() redirecting to TKinter or WXPython textwidget???

2005-01-27 Thread Jeff Shannon
Ivo Woltring wrote: The output of mencoder is not readable with readlines (i tried it) because after the initial informational lines You don't get lines anymore (you get a linefeed but no newline) The prints are all on the same line (like a status line) something like Pos: 3,1s 96f ( 0%)

Re: Tkinter vs wxPython

2005-01-27 Thread Ed Leafe
On Jan 27, 2005, at 12:17 PM, Gabriel Cosentino de Barros wrote: Now going back on topic: A think that neighter Tk nor wxWindow is a good choice for python. They both suck much of it when it came to abstraction. They're still better than glade or gtk. But could improve a lot. wxWindow has

subprocess.Popen() redirecting to TKinter or WXPython textwidget???

2005-01-26 Thread Ivo Woltring
Hi Pythoneers, I am trying to make my own gui for mencoder.exe (windows port of the terrific linux mencoder/mplayer) to convert divx to Pocket_PC size. My current app creates a batch script to run the mencoder with the needed params, but now I want to integrate mencoder as a subprocess in my app.

Re: subprocess.Popen() redirecting to TKinter or WXPython textwidget???

2005-01-26 Thread [EMAIL PROTECTED]
Ivo, my initial thought would be, you need to know how much text you will get back from popen. My Python reference has the following example: import os dir = os.popen('ls -al', 'r') while (1): line = dir.readline() if line: print line, else: break that example shows how to capture the process

Re: subprocess.Popen() redirecting to TKinter or WXPython textwidget???

2005-01-26 Thread Ivo Woltring
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Ivo, my initial thought would be, you need to know how much text you will get back from popen. My Python reference has the following example: import os dir = os.popen('ls -al', 'r') while (1): line = dir.readline() if line:

Re: Tkinter vs wxPython

2004-12-30 Thread Steve Holden
Bernd Schmidt wrote: Thomas Bartkus schrieb: When run under Linux, my wxPython programs follow the look and feel of my Gnome desktop. When the same program is run on Windows, it follows that desktop theme. Both Gnome and Windows XP alter the the controls design according to user preferences.

Re: Tkinter vs wxPython

2004-12-29 Thread Alejandro Weinstein
Sure wxGlade/Boa/etc can help speed design and layout up, but what happens when you want to do non standard things or just get stuck because some thing just isn't working. Then you add the necesary hand crafted code to the automatic generated code. At least is what I did when I needed. --

Re: Tkinter vs wxPython

2004-12-29 Thread Steve Holden
Alejandro Weinstein wrote: Sure wxGlade/Boa/etc can help speed design and layout up, but what happens when you want to do non standard things or just get stuck because some thing just isn't working. Then you add the necesary hand crafted code to the automatic generated code. At least is what I

Re: Tkinter vs wxPython

2004-12-29 Thread Thomas Bartkus
Jarek Zgoda [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Cameron Laird wrote: Well, while on Windows native look exists, on X11 native has other meaning. On my wife's desktop it's KDE that is native, GNUStep is native on mine and I strongly object calling GTK native, as one can

Re: Tkinter vs wxPython

2004-12-29 Thread Jp Calderone
On Wed, 29 Dec 2004 13:37:22 -0600, Thomas Bartkus [EMAIL PROTECTED] wrote: Jarek Zgoda [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Cameron Laird wrote: Well, while on Windows native look exists, on X11 native has other meaning. On my wife's desktop it's KDE that is native,

Re: Tkinter vs wxPython

2004-12-29 Thread Jim Smith
Steve Holden wrote: I've tried a number of these tools, including BlackAdder, wxDesigner, wxGlade and BoaConstructor. I even paid money for some of them. I have also tried each of these and paid money for the first two. My personal favorite is wxDesigner. It is very polished and worth every

Re: Tkinter vs wxPython

2004-12-29 Thread Bernd Schmidt
Thomas Bartkus schrieb: When run under Linux, my wxPython programs follow the look and feel of my Gnome desktop. When the same program is run on Windows, it follows that desktop theme. Both Gnome and Windows XP alter the the controls design according to user preferences. wxPython GUIs reflect

Re: Tkinter vs wxPython

2004-12-28 Thread Alejandro Weinstein
I am especially interested in terms of learning curve, documentation, portability across platforms Linux/Windows and anything else you care to add. As I know only what I have read on this forum surfing the web I would really appreciate the input of those who have used both, or decided to use

Re: Tkinter vs wxPython

2004-12-28 Thread Cameron Laird
In article [EMAIL PROTECTED], Alejandro Weinstein [EMAIL PROTECTED] wrote: . . . the standard GUI for Python. I read some tutorials, but didn't go to far, and didn't like the Tkinter looks too much. Then I tried

Re: Tkinter vs wxPython

2004-12-28 Thread F. GEIGER
Esmail Bonakdarian [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] Hi I have found ALL of the posts useful, thank you so much. Please keep them coming! I am learning a lot. I will probably play a bit with Tkinter and wxPython and see how each feels, just as Peter Hansen

Re: Tkinter vs wxPython

2004-12-28 Thread Jarek Zgoda
Cameron Laird wrote: IMO, wxPython has a softert learning curve (specially if you use wxGlade), is portable between unix/windows/mac, with the advantage over Tkinter that it has a native look. Regarding documentation, . While people seem to mean a range of different

Re: Tkinter vs wxPython

2004-12-28 Thread Michael McGarry
Definitely look at PyQt. It was the GUI framework I chose when going through the same process 3 weeks ago. I have to disagree with F.Geiger (sorry, F.Geiger), I think a GUI builder is a necessity. It saves you a lot of time. The alternative is to keep changing your code until your GUI looks as

Tkinter vs wxPython

2004-12-27 Thread Esmail Bonakdarian
Greetings all. I will have about 2 weeks to pursue some Python related activities and would like to learn more about the graphical end of things. In that vein I would like some opinions regarding Tkinter and wxPython. (The previously recommended PyGame is appropriate for me for now, but I am