Re: [Tutor] Can I pause, stop or reset python virtual machine

2007-02-05 Thread Alan Gauld
"Wong Vincent" <[EMAIL PROTECTED]> wrote 

> Hi. Does python provide any API to pause, 
> stop or reset the virtual machine?

Can you explain a little bit more about what you mean?
Are those 3 separate things? If so whjat is the difference 
between stop and pause? Does reset mean restart the 
running script or restart the interpreter? Or do you just 
mean you want to stop and restart the application?

>  Am currently building an application which will run 
> a script file using os.popen().  In order to allow user 
> to run, stop and pause the application, 

So you have an application, A that runs a script B 
using popen. Now, do you want to run,stop and 
pause A or B?

And are A and B both written in Python?

> ...is there any better way of doing it?

Once we have a clearer view of what "it" is we might 
be able to answer. I suspect what you want can be done, 
but I'm just not clear on what exactly you mean.

>  Too, can you please suggest me several hot forum 
> for wxPython? I did sign up for SandBox, but my post 
> has got no reply for +/- 1 week already.

Usually a Sandbox is a play area, you wouldn't expect 
a reply.  There is a wxPython mailing list which is probably 
a better place to ask questions about wxPython. It is very active.
The gmane archive is here:

http://news.gmane.org/gmane.comp.python.wxpython

Alan G.


___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Can I pause, stop or reset python virtual machine

2007-02-05 Thread Necmettin Begiter
05 Şub 2007 Pts 04:56 tarihinde, Wong Vincent şunları yazmıştı: 
> Dear tutors,
> Hi. Does python provide any API to pause, stop or reset the virtual
> machine? Am currently building an application which will run a script file
> using os.popen(). In order to allow user to run, stop and pause the
> application, is it advisable to do the abovementioned? or is there any
> better way of doing it?
In your "virtual machine", are you asking the user for a filename? Because if 
you are, if you have a dialog or whatever that asks the user for a filename, 
that point is where the "virtual machine" waits.
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Can I pause, stop or reset python virtual machine

2007-02-04 Thread Wong Vincent
Dear tutors,
Hi. Does python provide any API to pause, stop or reset the virtual machine?
  Am currently building an application which will run a script file using 
os.popen().
  In order to allow user to run, stop and pause the application, is it 
advisable to do the abovementioned? or is there any better way of doing it?
   
  Too, can you please suggest me several hot forum for wxPython?I did sign up 
for SandBox, but my post has got no reply for +/- 1 week already.
   
  Thanks all.
   
  Best regards 
  Vincent :D

 
-
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor