[Tutor] Error Handling in python
jitendra gupta
jitu.icfai at gmail.com
Fri Jul 25 09:34:17 CEST 2014
@All Thanks a lot,
Yes "set -e" It work fine. This is what I am looking for but I got some
extra things to learn :) .
Thanks you again
Thanks
Jitendra
On Thu, Jul 24, 2014 at 6:10 PM, Wolfgang Maier <
wolfgang.maier at biologie.uni-freiburg.de> wrote:
> On 24.07.2014 14:37, Chris “Kwpolska” Warrick wrote:
>
>>
>> It’s recommended to switch to the [[ syntax anyways, some people
>> consider [ deprecated. Also, [ is actually /bin/[ while [[ lives in
>> your shell (and is therefore faster).
>>
>> About the equals sign, == is the preferred syntax, and = is also
>> considered deprecated (zsh explicitly says so, bash says “only for
>> POSIX compatibility”.
>>
>>
> I see. There is always something to learn, thanks (even if it's not
> Python-related as Steven points out correctly) :)
>
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140725/8d183965/attachment.html>
More information about the Tutor
mailing list