Python/Pythonic Concepts: Difference between revisions
Appearance
< Python
mNo edit summary |
|||
Line 1: | Line 1: | ||
== Asking forgiveness, not permission == | == Asking forgiveness, not permission == | ||
Instead of checking for all possible mistakes before command, do try/except with command. | |||
* https://youtu.be/x3v9zMX1s4s | * https://youtu.be/x3v9zMX1s4s | ||
== Duck typing == | == Duck typing == | ||
* https://youtu.be/x3v9zMX1s4s | * https://youtu.be/x3v9zMX1s4s |
Latest revision as of 11:34, 10 April 2021
Asking forgiveness, not permission
Instead of checking for all possible mistakes before command, do try/except with command.