Oh dang, this is really useful for handling file errors.... S_sword
Oh dang, this is really useful for handling file errors....
PEP 758 – Allow except and except* expressions without parentheses coming soon to 3.14 quintrankid
PEP 758 – Allow except and except* expressions without parentheses coming soon to 3.14
I knew about this and very glad you made it 👍🏻 Sinke_
I knew about this and very glad you made it 👍🏻
Optimizing exceptions that come from dynamic types. Python is sooo beginner friendly. InspektorDreyfus
Optimizing exceptions that come from dynamic types. Python is sooo beginner friendly.
one other thing is to use !r instead of repr() print(f'Bad input: {e!r}') Rsparing
one other thing is to use !r instead of repr() print(f'Bad input: {e!r}')
Where can one find a list of the errors, EG TypeError? acecabezon
Where can one find a list of the errors, EG TypeError?
> be me. > program in Java and C# most of the time. > try to learn C++. > spot wild python video in the wild. > watch a lot of random fun facts videos about it, even tho I haven't used it ever and it's not a priority to learn it atm. Why am I like this? Who cares, Python go brrrr. fakeAratPrime
> be me. > program in Java and C# most of the time. > try to learn C++. > spot wild python video in the wild. > watch a lot of random fun facts videos about it, even tho I haven't used it ever and it's not a priority to learn it atm. Why am I like this? Who cares, Python go brrrr.
Probably this is nothing new and cool, a very basic error handling concept! Holasticlogger
Probably this is nothing new and cool, a very basic error handling concept!