/explore
|
You are here |
death.andgravity.com | ||
| | | | |
inventwithpython.com
A recent post to Reddit sparked some comments, so I wanted to clarify: In Python, hashable objects must be immutable and mutable objects cannot be hashable. (With one exception.) |
|
| | | | | ||
| | | | |
www.learnpython.dev
Free Learn Python Course by Nina Zakharenko - An intensive two day introduction and intermediate course on Python. Video course published on Frontend Masters. |
|
| | | | | ||
| | | | |
fuzzyblog.io
[AI summary] The author discusses differences between Python and Ruby regarding dictionary key access and missing keys, highlighting cultural design philosophies and the Pythonic .get() method. |
|
| | | | | ||
| | | | |
www.henryleach.com
I have a habit of adding return 0 to the end of my Python main() functions, even if they don't actually return anything. A friend pointed this weirdness out, and guessed, probably correctly, that this is a habit from C/C++ where returning 0 means 'everything went as expected'. But does that make any sense at all in Python? |
|
| | | |||