If I understand correctly, when I run a Python program, the Python interpreter generates bytecode (the .pyc
file that appears alongside the .py
source) unless the source contains a syntax error.
Does the bytecode compiler generate any other exceptions or are all the other exceptions raised at runtime when the .pyc
code is being executed?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With