Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio?

2013-07-21 Thread fronagzen
On Saturday, July 20, 2013 3:59:00 PM UTC+8, Aseem Bansal wrote: > After considering all the options suggested here I decided to use > PySide/QtCreator as was suggested by Dave Cook. I created a simple GUI with > QtCreator and found a way to convert .ui files to .py files. So far so good. > > Bu

Re: tkinter redraw rates

2013-07-18 Thread fronagzen
On Thursday, July 18, 2013 3:20:28 PM UTC+8, Christian Gollwitzer wrote: > Am 18.07.13 06:38, schrieb fronag...@gmail.com: > > On Thursday, July 18, 2013 9:07:24 AM UTC+8, Dave Angel wrote: > >> Nope - don't use that. Instead, post an event on the queue, and return > >> to the mainloop() from when

Re: tkinter redraw rates

2013-07-17 Thread fronagzen
On Thursday, July 18, 2013 9:07:24 AM UTC+8, Dave Angel wrote: > On 07/17/2013 08:44 PM, fronag...@gmail.com wrote: > > On Thursday, July 18, 2013 1:38:34 AM UTC+8, Dave Angel wrote: > >> On 07/17/2013 09:18 AM, fronag...@gmail.com wrote: > >>> On Wednesday, July 17, 2013 7:42:45 PM UTC+8, Dave Ang

Re: tkinter redraw rates

2013-07-17 Thread fronagzen
On Thursday, July 18, 2013 1:38:34 AM UTC+8, Dave Angel wrote: > On 07/17/2013 09:18 AM, fronag...@gmail.com wrote: > > On Wednesday, July 17, 2013 7:42:45 PM UTC+8, Dave Angel wrote: > >> On 07/17/2013 07:10 AM, fronag...@gmail.com wrote: > >>> On Wednesday, July 17, 2013 6:07:22 PM UTC+8, Dave An

Re: tkinter redraw rates

2013-07-17 Thread fronagzen
On Wednesday, July 17, 2013 7:42:45 PM UTC+8, Dave Angel wrote: > On 07/17/2013 07:10 AM, fronag...@gmail.com wrote: > > On Wednesday, July 17, 2013 6:07:22 PM UTC+8, Dave Angel wrote: > >> On 07/16/2013 11:04 PM, fronag...@gmail.com wrote: > >>> Noted on the quoting thing. > >>> Regarding the thre

Re: tkinter redraw rates

2013-07-17 Thread fronagzen
On Wednesday, July 17, 2013 6:07:22 PM UTC+8, Dave Angel wrote: > On 07/16/2013 11:04 PM, fronag...@gmail.com wrote: > > > Noted on the quoting thing. > > Regarding the threading, well, first, I'm not so much a programmer as > > someone who knows a bit of how to program. > > And it seems that the

Re: tkinter redraw rates

2013-07-17 Thread fronagzen
On Wednesday, July 17, 2013 6:07:22 PM UTC+8, Dave Angel wrote: > On 07/16/2013 11:04 PM, fronag...@gmail.com wrote: > > > Noted on the quoting thing. > > > > > > Regarding the threading, well, first, I'm not so much a programmer as > > someone who knows a bit of how to program. > > > > > > A

Re: tkinter redraw rates

2013-07-16 Thread fronagzen
Noted on the quoting thing. Regarding the threading, well, first, I'm not so much a programmer as someone who knows a bit of how to program. And it seems that the only way to update a tkinter window is to use the .update() method, which is what I was experimenting with. Start up a new thread t

Re: tkinter redraw rates

2013-07-16 Thread fronagzen
On Wednesday, July 17, 2013 9:40:15 AM UTC+8, Dave Angel wrote: > On 07/16/2013 08:57 PM, fronag...@gmail.com wrote: > > > Hm. So I've written a GUI in tkinter. I've found two performance issues, I > > was hoping someone could point me in the right direction. > > > > > > Firstly, I'm using an i

tkinter redraw rates

2013-07-16 Thread fronagzen
Hm. So I've written a GUI in tkinter. I've found two performance issues, I was hoping someone could point me in the right direction. Firstly, I'm using an image as a border, namely: from tkinter import * from tkinter import ttk root_frame = Tk() root_frame.configure(background = 'black') img1

Re: Ideal way to separate GUI and logic?

2013-07-15 Thread fronagzen
On Tuesday, July 16, 2013 1:06:30 AM UTC+8, asim...@gmail.com wrote: > fron...@gmail.com wrote: > > > So as a general idea, I should at the very least separate the GUI from the > > program logic by defining the logic as a function, correct? And the next > > level of separation is to define the l

Re: Ideal way to separate GUI and logic?

2013-07-14 Thread fronagzen
Thanks for all the responses! So as a general idea, I should at the very least separate the GUI from the program logic by defining the logic as a function, correct? And the next level of separation is to define the logic as a class in one or more separate files, and then import it to the file w

Re: Ideal way to separate GUI and logic?

2013-07-14 Thread fronagzen
Thanks for all the responses! So as a general idea, I should at the very least separate the GUI from the program logic by defining the logic as a function, correct? And the next level of separation is to define the logic as a class in one or more separate files, and then import it to the file w

Ideal way to separate GUI and logic?

2013-07-13 Thread fronagzen
Well, I'm a newcome to Python, but I'm developing a program with a GUI in tkinter, and I'm wondering what is the best, 'most pythonic' way of doing this? I could, obviously, write a monolithic block of code. I can define the logic and the GUI as two separate classes and then call from those cla

Re: Kivy for Python 3.3

2013-07-12 Thread fronagzen
On Friday, July 12, 2013 6:14:46 PM UTC+8, Paul Kölle wrote: > Am 11.07.2013 16:26, schrieb fronag...@gmail.com: > > [scnipp] > > > C:\MinGW\bin\gcc.exe -mdll -O -Wall -IC:\Python33\include > > > -IC:\Python33\include -c kivy\graphics\vertex_instructions.c -o > > > build\temp.win32-3.3\Release\

Re: Kivy for Python 3.3

2013-07-11 Thread fronagzen
On Thursday, July 11, 2013 9:17:07 PM UTC+8, Paul Kölle wrote: > Am 11.07.2013 11:09, schrieb fronag...@gmail.com: > > > Hello, first time poster here, and general newbie to Python. > > > > > > I'm looking to write a program in Python, (and have in fact written > > > most of it by now,) and am

Re: ElementTree: can't figure out a mismached-tag error

2013-07-11 Thread fronagzen
On Thursday, July 11, 2013 8:25:13 PM UTC+8, F.R. wrote: > On 07/11/2013 10:59 AM, F.R. wrote: > > > Hi all, > > > > > > I haven't been able to get up to speed with XML. I do examples from > > > the tutorials and experiment with variations. Time and time again I > > > fail with errors messag

Re: ElementTree: can't figure out a mismached-tag error

2013-07-11 Thread fronagzen
Actually, I don't think etree has a HTML parser. And I would counter-recommend lxml if speed is an issue: BeautifulSoup takes a long time to parse a large document. On Thursday, July 11, 2013 5:08:04 PM UTC+8, Fábio Santos wrote: > On 11 Jul 2013 10:04, "F.R." wrote: > > > > > > Hi all, >

Kivy for Python 3.3

2013-07-11 Thread fronagzen
Hello, first time poster here, and general newbie to Python. I'm looking to write a program in Python, (and have in fact written most of it by now,) and am trying to put together a GUI for it. Kivy looks very nice, particularly with the fact that it's supposed to be compatible with most platfor