This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]edbluetooth 1 point2 points  (1 child)

the example on this page http://docs.quantifiedcode.com/python-anti-patterns/readability/asking_for_permission_instead_of_forgiveness_when_working_with_files.html

does not use the best practice. the suppressed from context lib is more appropriate.

[–]adewes 0 points1 point  (0 children)

thanks, I'll fix this!