storing test logs under /var/log/

Ganesh Pal ganesh1pal at gmail.com
Tue Dec 8 06:00:53 EST 2015


> Finally. sys.exit accepts an integer, not a string.
>

Most of code  uses sys.exit("some error message")   ,  I did notice
that the error message is not displayed by sys .exit("some error
message") ,  do  u mean that using string is not advisable with
sys.exit ?
How to I display error messages with sys.exit then ?

PS:Thanks for all your previous comments ,  all were quite helpful .

Regards,
Ganesh



More information about the Python-list mailing list