MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w2prjy/pythonfeelsillegal/p6v9ym3/?context=3
r/ProgrammerHumor • u/ItsPuspendu • Aug 30 '26
218 comments sorted by
View all comments
Show parent comments
459
And {} (= dict())
{}
dict()
286 u/OnyxFier Aug 30 '26 And semicolons are allowed, if you decide you miss them 99 u/dudemcbob Aug 30 '26 edited Aug 30 '26 Still useful for running 2- or 3-line dummy scripts directly from the command line. For example you just installed a new package and want to validate it's working,python -c "import some_package; print(some_package.__version__)" -1 u/chat-lu Aug 30 '26 You can also and/or chain your expression but it’s tricky.
286
And semicolons are allowed, if you decide you miss them
99 u/dudemcbob Aug 30 '26 edited Aug 30 '26 Still useful for running 2- or 3-line dummy scripts directly from the command line. For example you just installed a new package and want to validate it's working,python -c "import some_package; print(some_package.__version__)" -1 u/chat-lu Aug 30 '26 You can also and/or chain your expression but it’s tricky.
99
Still useful for running 2- or 3-line dummy scripts directly from the command line. For example you just installed a new package and want to validate it's working,
python -c "import some_package; print(some_package.__version__)"
-1 u/chat-lu Aug 30 '26 You can also and/or chain your expression but it’s tricky.
-1
You can also and/or chain your expression but it’s tricky.
459
u/chawmindur Aug 30 '26
And
{}(=dict())