Organization of GUIs

2009-12-03 Thread Michael Mossey
I have a question about typical organization of GUIs. I will be using PyQt. I have mostly used Python and C++ in my professional life, but I just took an 8 month detour into using a functional programming language called Haskell. Haskell is "pure" meaning that for the most part data is not mutable

Re: Organization of GUIs

2009-12-03 Thread Michael Mossey
On Dec 3, 6:38 am, Lie Ryan wrote: > On 12/4/2009 12:44 AM, Michael Mossey wrote: > > > I have a question about typical organization of GUIs. I will be using > > PyQt. > > Model-View-Controller (MVC) pattern. > > Model - all the business logic lives in the model.

Catching control-C

2009-07-06 Thread Michael Mossey
What is required in a python program to make sure it catches a control- c on the command-line? Do some i/o? The OS here is Linux. Thanks, Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Catching control-C

2009-07-06 Thread Michael Mossey
On Jul 6, 2:47 pm, Philip Semanchuk wrote: > On Jul 6, 2009, at 5:37 PM, Michael Mossey wrote: > > > What is required in a python program to make sure it catches a   > > control- > > c on the command-line? Do some i/o? The OS here is Linux. > > You c

help with threads

2009-08-06 Thread Michael Mossey
Hello, I have a simple application that needs one thread to manage networking in addition to the main "thread" that does the main job. It's not working right. I know hardly anything about threads, so I was hoping someone could point me in the right direction to research this. Basically, I have a

Re: help with threads

2009-08-06 Thread Michael Mossey
Ah yes, that explains it. Some of these long computations are done in pure C, so I'm sure the GIL is not being released. Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: help with threads

2009-08-08 Thread Michael Mossey
On Aug 7, 5:03 pm, Piet van Oostrum wrote: > >>>>> Michael Mossey (MM) wrote: > >MM> Ah yes, that explains it. Some of these long computations are done in > >MM> pure C, so I'm sure the GIL is not being released. > > Is that C code under your own c