Re: sys.stderr.write and sys.exit

2006-11-23 Thread GinTon
Thanks Ben Finney. So it's understood very well. Ben Finney ha escrito: > "GinTon" <[EMAIL PROTECTED]> writes: > > > Is the same use >>>>> sys.stderr.write('error message'); sys.exit(1) > > than >>>>> sys.exit('error message') ? > > Code that wants to catch SystemExit will get a different

Re: sys.stderr.write and sys.exit

2006-11-23 Thread Ben Finney
"GinTon" <[EMAIL PROTECTED]> writes: > Is the same use _sys.stderr.write('error message'); sys.exit(1)_ > than _sys.exit('error message')_ ? (Note: The underscore '_' is a valid character in Python code, so I was quite confused by what you wrote and had to read it several times to see that you we