MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/gzila7/python_3_in_one_pic/ftjqw7w/?context=3
r/Python • u/TheInsaneApp • Jun 09 '20
167 comments sorted by
View all comments
613
How is this "Python 3 in One Pic"?
Let's forget about all the built-in modules.
Here are a bunch of features missing (not duplicating the other such complaint here on this page):
generators
list/dict/set comprehensions
f-strings
with statements
with
Function definitions
parameter passing (args, kwargs, etc)
args
kwargs
Whatever it's called when you pull lists apart: first, *rest = some_list
first, *rest = some_list
list slicing
I believe I could double the length of that list without much trouble.
190 u/hughperman Jun 09 '20 "continue""pass""try/except/finally""assert"DecoratorsA whole load of string functionalityThe entire async set of functionalityAnd tons more: https://docs.python.org/3/reference/index.html 52 u/[deleted] Jun 09 '20 "pass"The real mvp making annoying IDEs shut up 1 u/lostnfoundaround Jun 10 '20 pass is what I use when I’m too lazy to comment it out.
190
"continue"
"pass"
"try/except/finally"
"assert"
Decorators
A whole load of string functionality
The entire async set of functionality
And tons more: https://docs.python.org/3/reference/index.html
52 u/[deleted] Jun 09 '20 "pass"The real mvp making annoying IDEs shut up 1 u/lostnfoundaround Jun 10 '20 pass is what I use when I’m too lazy to comment it out.
52
The real mvp making annoying IDEs shut up
1 u/lostnfoundaround Jun 10 '20 pass is what I use when I’m too lazy to comment it out.
1
pass is what I use when I’m too lazy to comment it out.
613
u/[deleted] Jun 09 '20
How is this "Python 3 in One Pic"?
Let's forget about all the built-in modules.
Here are a bunch of features missing (not duplicating the other such complaint here on this page):
generators
list/dict/set comprehensions
f-strings
withstatementsFunction definitions
parameter passing (
args,kwargs, etc)Whatever it's called when you pull lists apart:
first, *rest = some_listlist slicing
I believe I could double the length of that list without much trouble.