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

2007-08-09 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Paul Rubin 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

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 th

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

2007-08-08 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Paul Rubin wrote: . . . >I'm not sure what you're getting at in this context. You can write a >desktop app where the window system communicates with a gui toolkit >th

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

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

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 sc

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

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 o

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

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

2007-08-08 Thread Hendrik van Rooyen
"Paul Rubin" wrote: > [EMAIL PROTECTED] (Cameron Laird) writes: > > >application in the web app model (I haven't even touched on the whole > > >stateless HTTP being mapped to a stateful environment issue, or the > > >need to manage the local web server) actually buys you anything. I > > . > > Go

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

2007-08-07 Thread Paul Rubin
[EMAIL PROTECTED] (Cameron Laird) writes: > >application in the web app model (I haven't even touched on the whole > >stateless HTTP being mapped to a stateful environment issue, or the > >need to manage the local web server) actually buys you anything. I > . > Go ahead: touc

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 wrote: > . > . > . > > > > >I should also add: there is also the possibility of running a Py

Re: Tkinter or wxpython?

2007-08-07 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Paul Rubin 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

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 benefit

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

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 interfac

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

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 builde

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: 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. I find that

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 ab

Re: Tkinter or wxpython?

2007-08-06 Thread Paul Rubin
"Chris Mellon" <[EMAIL PROTECTED]> writes: > Define "functionality". From the rest of your posts, that seems to be > limited to "press buttons" and "type small amounts of non-formatted > text" on the interaction side and "display small amounts of simply > formatted text" on the output side. OK, I

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 Bryan Hepworth
Chris Mellon wrote: > On 06 Aug 2007 09:44:15 -0700, Paul Rubin > <"http://phr.cx"@nospam.invalid> wrote: > >> "Chris Mellon" <[EMAIL PROTECTED]> writes: >> Might or might not matter for the application, especially considering that tkinter is part of the discussion.

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

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 c

Re: Tkinter or wxpython?

2007-08-06 Thread Chris Mellon
On 06 Aug 2007 09:44:15 -0700, Paul Rubin <"http://phr.cx"@nospam.invalid> wrote: > "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

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 >

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 abo

Re: Tkinter or wxpython?

2007-08-06 Thread Paul Rubin
Paul Rubin 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

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

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

Re: Tkinter or wxpython?

2007-08-06 Thread kyosohma
On Aug 6, 9:58 am, "Chris Mellon" <[EMAIL PROTECTED]> wrote: > On 06 Aug 2007 07:39:12 -0700, Paul Rubin > > > > <"http://phr.cx"@nospam.invalid> wrote: > > [EMAIL PROTECTED] writes: > > > I've read that Tkinter doesn't scale well if you're writing complex > > > GUIs. I haven't been able to test t

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 c

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: > http://arstechnica.com/news.ars/post/20070802-security

Re: Tkinter or wxpython?

2007-08-06 Thread Chris Mellon
On 06 Aug 2007 07:39:12 -0700, Paul Rubin <"http://phr.cx"@nospam.invalid> wrote: > [EMAIL PROTECTED] writes: > > I've read that Tkinter doesn't scale well if you're writing complex > > GUIs. I haven't been able to test this hypothesis though. However, > > since I had to rewrite VBA apps into Pyth

Re: Tkinter or wxpython?

2007-08-06 Thread kyosohma
On Aug 6, 9:39 am, Paul Rubin wrote: > [EMAIL PROTECTED] writes: > > I've read that Tkinter doesn't scale well if you're writing complex > > GUIs. I haven't been able to test this hypothesis though. However, > > since I had to rewrite VBA apps into Python, to get the rig

Re: Tkinter or wxpython?

2007-08-06 Thread Paul Rubin
[EMAIL PROTECTED] writes: > I've read that Tkinter doesn't scale well if you're writing complex > GUIs. I haven't been able to test this hypothesis 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

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

Re: Tkinter or wxpython?

2007-08-05 Thread Raúl Gómez C.
Well, for a newbie I think the best choice is PythonCard, is a framework based on wxPython but much more simple, check it out! On 8/3/07, Glenn Hutchings <[EMAIL PROTECTED]> wrote: > > On Aug 3, 1:00 am, "wang frank" <[EMAIL PROTECTED]> wrote: > > I want to buil

Re: Tkinter or wxpython?

2007-08-02 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 to

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/msnj

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%) 42f

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%) 42f

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 l

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 ou

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.