Re: How can I make sure my python exit

2007-04-04 Thread bearophileHUGS
> Typically when the last piece of code executes, the program ends. You > could import sys and explicitly exit by calling sys.exit(0). > Mike raise SystemExit works too. Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list

Re: How can I make sure my python exit

2007-04-04 Thread kyosohma
On Apr 4, 2:58 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > I have a python script: > At the end of the script, I have: > > print "Build Done!" > > my question is does that mean my python script exits after it prints > "Build done!" > > I have a java program which calls this python

How can I make sure my python exit

2007-04-04 Thread [EMAIL PROTECTED]
Hi, I have a python script: At the end of the script, I have: print "Build Done!" my question is does that mean my python script exits after it prints "Build done!" I have a java program which calls this python script. But i run into a problem in which the python script never returns to the jav