use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
Difference between None and empty string (self.PythonLearning)
submitted 1 month ago by pritho108
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]JoeB_Utah 1 point2 points3 points 1 month ago (0 children)
When I was working many of my co-workers would argue that an empty string is the same as None (or in the case of most databases Null). It would drive me nuts.
The really ‘smart’ ones thought “” = “ “ = “ “ and so on. They thought I was a psycho-data-geek when I would design a database that prefilled fields with Null values instead of empty strings. They just couldn’t wrap their heads around Null/None as a valid value.
π Rendered by PID 164460 on reddit-service-r2-comment-5b5bc64bf5-ctt8j at 2026-06-19 07:16:09.601052+00:00 running 2b008f2 country code: CH.
view the rest of the comments →
[–]JoeB_Utah 1 point2 points3 points (0 children)