Re: Broken MUA interactions (was: Restarting a Python Application)

2007-07-09 Thread Chris Mellon
On 7/9/07, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > En Mon, 09 Jul 2007 10:48:39 -0300, Chris Mellon <[EMAIL PROTECTED]> > escribió: > > > It's working as instructed, but that doesn't mean that it's doing the > > best thing. It's common practice for mailing lists to set the reply-to > > to th

Re: Broken MUA interactions (was: Restarting a Python Application)

2007-07-09 Thread Gabriel Genellina
En Mon, 09 Jul 2007 10:48:39 -0300, Chris Mellon <[EMAIL PROTECTED]> escribió: > It's working as instructed, but that doesn't mean that it's doing the > best thing. It's common practice for mailing lists to set the reply-to > to the list itself, because that's the common case, and because it's >

Re: Broken MUA interactions (was: Restarting a Python Application)

2007-07-09 Thread Chris Mellon
On 7/8/07, Ben Finney <[EMAIL PROTECTED]> wrote: > "Peter Decker" <[EMAIL PROTECTED]> writes: > > > Imagine if you wrote applications where the default behavior did not > > do what was needed 99% of the time: how long do you think you'd be > > in business? > > You seem to be complaining about the f

Broken MUA interactions (was: Restarting a Python Application)

2007-07-07 Thread Ben Finney
"Peter Decker" <[EMAIL PROTECTED]> writes: > Imagine if you wrote applications where the default behavior did not > do what was needed 99% of the time: how long do you think you'd be > in business? You seem to be complaining about the functionality of your mail user agent (MUA) software. The mail

Re: Restarting a Python Application

2007-07-07 Thread Steve Holden
Peter Decker wrote: > On 7/7/07, Kelvie Wong <[EMAIL PROTECTED]> wrote: >> Ugh.. this would be a repost for the OP, but I forgot to hit "reply to >> all" again. > > > Imagine if you wrote applications where the default behavior did not > do what was needed 99% of the time: how long do you think y

Re: Restarting a Python Application

2007-07-07 Thread Peter Decker
On 7/7/07, Kelvie Wong <[EMAIL PROTECTED]> wrote: > Ugh.. this would be a repost for the OP, but I forgot to hit "reply to > all" again. Imagine if you wrote applications where the default behavior did not do what was needed 99% of the time: how long do you think you'd be in business? The defaul

Re: Restarting a Python Application

2007-07-07 Thread Kelvie Wong
Ugh.. this would be a repost for the OP, but I forgot to hit "reply to all" again. This should do it: os.execv(sys.argv[0], sys.argv) Not sure how portable that statement is, though. On 7/3/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > I packaged up an application I am developing

Re: Restarting a Python Application

2007-07-07 Thread Matimus
> Actually I am using wxPython for a GUI front-end. Thus, it is already > in a class. I am not sure how to apply your idea to a program that is > already running in an infinite event loop. I don't know wxPython, but I was able to grab an example program and adapt it to do what I think you are ask

Re: Restarting a Python Application

2007-07-06 Thread kyosohma
On Jul 3, 5:00 pm, Matimus <[EMAIL PROTECTED]> wrote: > On Jul 3, 2:27 pm, [EMAIL PROTECTED] wrote: > > > > > Hi, > > > I packaged up an application I am developing into an executable. In > > the application, it has user configurable options. I would like a way > > to restart the application so tha

Re: Restarting a Python Application

2007-07-03 Thread Matimus
On Jul 3, 2:27 pm, [EMAIL PROTECTED] wrote: > Hi, > > I packaged up an application I am developing into an executable. In > the application, it has user configurable options. I would like a way > to restart the application so that the new options the user chooses > can be applied. Firefox can resta

Restarting a Python Application

2007-07-03 Thread kyosohma
Hi, I packaged up an application I am developing into an executable. In the application, it has user configurable options. I would like a way to restart the application so that the new options the user chooses can be applied. Firefox can restart itself. Does anyone know how to accomplish this in P