Movatterモバイル変換
[0]ホーム
Pythonwin break execution
Steve Holdensholden at holdenweb.com
Mon Apr 9 07:34:09 EDT 2001
"Neo" <neo at thezion.net> wrote in messagenews:9arsv3$6ho02$1 at ID-35431.news.dfncis.de...> What is the key for to break the script execution in pythonwin?>The usual way is import sys sys.exit()An integer argumnet (usually from 0-127) is returned as the completionstatus of the process under Unices, but Windozes tend to be a little lesscooperative. The documentation also states """In particular, sys.exit("someerror message") is a quick way to exit a program when an error occurs""".Hope this helps.regards Steve
More information about the Python-listmailing list
[8]ページ先頭