MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w2prjy/pythonfeelsillegal/p6v9ym3/?context=9999
r/ProgrammerHumor • u/ItsPuspendu • 2d ago
219 comments sorted by
View all comments
1.0k
theres main() in python
448 u/chawmindur 2d ago And {} (= dict()) 284 u/OnyxFier 2d ago And semicolons are allowed, if you decide you miss them 102 u/dudemcbob 2d ago edited 2d ago 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 somepackage; print(some_package.\_version__)" -1 u/chat-lu 2d ago You can also and/or chain your expression but it’s tricky.
448
And {} (= dict())
{}
dict()
284 u/OnyxFier 2d ago And semicolons are allowed, if you decide you miss them 102 u/dudemcbob 2d ago edited 2d ago 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 somepackage; print(some_package.\_version__)" -1 u/chat-lu 2d ago You can also and/or chain your expression but it’s tricky.
284
And semicolons are allowed, if you decide you miss them
102 u/dudemcbob 2d ago edited 2d ago 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 somepackage; print(some_package.\_version__)" -1 u/chat-lu 2d ago You can also and/or chain your expression but it’s tricky.
102
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 somepackage; print(some_package.\_version__)"
-1 u/chat-lu 2d ago 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.
1.0k
u/belabacsijolvan 2d ago
theres main() in python