19 karma · joined Sep 1, 2017 (9y ago) · 27 submissions
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 3y ago · link · parent
Plus I don't want ~/Videos or ~/Pictures folders. I am not dumb. Let me organize my folders according to my needs and my will.
The first thing I do when I setup a user account is removing those useless XDG folders.
XDG pretend to remove folder clusterfuck then why do they add their crappy folders?
comment 3y ago · link · parent
comment 4y ago · link · parent
comment 5y ago · link · parent
AFAIK the % operator is not deprecated. In fact % formatting being syntactically near identical to C is a feature to me. I use format strings as well depending on context.
% formatting being older doesn't mean it's obsolete.
That said it is cool to design a script to transform your code and any time you spent in the developing of automation is time earned.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
I just want to inform that "yield from" and "@coroutine" are now deprecated. So the article needs a bit of an update:
Note: Support for generator-based coroutines is deprecated and is scheduled for removal in Python 3.10.
References: - https://docs.python.org/3/library/asyncio-task.html#generato... - https://docs.python.org/3/whatsnew/3.7.html - https://bugs.python.org/issue36921
comment 6y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent