By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,996 Members | 1,498 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,996 IT Pros & Developers. It's quick & easy.

terminate execfile

P: n/a
How to terminate execfile() in the middle of its execution. Any
pointers ???
Its very urgent please........
Thanks
Teja.P

Oct 14 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a

Teja wrote:
How to terminate execfile() in the middle of its execution. Any
pointers ???
Its very urgent please........
Thanks
Teja.P
Can I raise an interrupt using PyErr_SetInterrupt??? Is so , does any
one know how to do it?

Oct 14 '06 #2

P: n/a

Teja wrote:
Teja wrote:
How to terminate execfile() in the middle of its execution. Any
pointers ???
Its very urgent please........
Thanks
Teja.P

Can I raise an interrupt using PyErr_SetInterrupt??? Is so , does any
one know how to do it?
I presume there is only one thread of execution here, so the file being
execfiled would have to recognise an error condition and raise an
un-caught exception.

- Paddy.

Oct 14 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.