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
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
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
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
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
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
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
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
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
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
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
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
[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
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
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
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
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,
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
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
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
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
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
[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:
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
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
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
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
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
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.
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
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
[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
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
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
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
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
[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
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.
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
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
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
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
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
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
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
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
--
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
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
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
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%)
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%)
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
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.
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
[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:
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.
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.
--
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
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
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,
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
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
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
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
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
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
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
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
68 matches
Mail list logo