In article <352fe298-75b1-4bc3-aca0-ecd0165f5...@h40g2000prf.googlegroups.com>,
Babloo wrote:
>
>i have a small python application with GUI (frontend) which has
>various functions. I have a "RUN" button which runs python scripts in
>the background . It basically calls execfile() function internal
Babloo wrote:
Any ideas how to pause execfile()?
As far as the calling instance of the Python interpreter is concerned,
calling execfile (or any C function) is an atomic action. You need to
rewrite the code in the file executed to have it monitor a semaphore.
--
http://mail.python.org/mai
On Oct 26, 1:25 am, Babloo wrote:
> On Oct 26, 1:01 pm, Sean DiZazzo wrote:
>
>
>
> > On Oct 25, 11:58 pm, Babloo wrote:
>
> > > i have a small python application with GUI (frontend) which has
> > > various functions. I have a "RUN" button which runs python scripts in
> > > the background . It b
On Oct 26, 1:01 pm, Sean DiZazzo wrote:
> On Oct 25, 11:58 pm, Babloo wrote:
>
>
>
> > i have a small python application with GUI (frontend) which has
> > various functions. I have a "RUN" button which runs python scripts in
> > the background . It basically calls execfile() function internally
>
On Oct 26, 1:11 pm, Saju Pillai wrote:
> On 26/10/09 12:28 PM, Babloo wrote:
>
> > i have a small python application with GUI (frontend) which has
> > various functions. I have a "RUN" button which runs python scripts in
> > the background . It basically calls execfile() function internally
> > wh
On 26/10/09 12:28 PM, Babloo wrote:
i have a small python application with GUI (frontend) which has
various functions. I have a "RUN" button which runs python scripts in
the background . It basically calls execfile() function internally
which runs in a thread , to run the python script .
I want
On Oct 25, 11:58 pm, Babloo wrote:
> i have a small python application with GUI (frontend) which has
> various functions. I have a "RUN" button which runs python scripts in
> the background . It basically calls execfile() function internally
> which runs in a thread , to run the python script .
>