Publish to my blog (weekly)
-
The 10 Most Common Mistakes That Python Developers Make | Toptal
- The proper way to catch multiple exceptions in an
exceptstatement is to specify the first parameter as a tuple containing all exceptions to be caught. Also, for maximum portability, use theaskeyword, since that syntax is supported by both Python 2 and Python 3:
-
댓글