Re: [PyOpenGL-Users] Exiting immidialty on errors
Brought to you by:
mcfletch
From: Carlos M. <dud...@ya...> - 2002-05-27 12:59:17
|
--- David <mp...@ch...> wrote: > So how can i make python halt immidiatly when there > has been an error in > any of the callbacks? import sys ... try: <python code> except ExceptionType: <python code - Exception handle> sys.exit() []'s Cadu Moreira KaduSoft President ---------------------------- [...give me a beer...] __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com |