Hi there, I have a code with a 'exit()' at the end. We run it usually as:
python2.5 -i code.py and if everything is fine, the 'exit()' is called and there's no interactive terminal. However, doing the same above with python2.6 and I got: amadeus[2738]:~/TMP% python2.6 -i thread_ping.py Traceback (most recent call last): File "thread_ping.py", line 42, in <module> exit() File "/sw/lib/python2.6/site.py", line 334, in __call__ raise SystemExit(code) SystemExit: None >>> So, everything is fine except that it ended up in the interactive python terminal. Is there a way of having the very behaviour I have with python 2.5 for my code in python 2.6? Many thanks in advance, Alan -- Alan Wilter S. da Silva, D.Sc. - CCPN Research Associate Department of Biochemistry, University of Cambridge. 80 Tennis Court Road, Cambridge CB2 1GA, UK. >>http://www.bio.cam.ac.uk/~awd28<<
-- http://mail.python.org/mailman/listinfo/python-list