Jun-21-2021, 10:56 PM
i'm importing a module that may have errors in the source code. i tried to catch it like:
but it gave me SyntaxError instead. ImportError didn't cover it. how can i find all the exceptions i might need to cover?
1 2 3 4 |
try : import flaky except ImportError: print ( 'bad module' ) |
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.