Equivalent of "which" command in PowerShell: https://stackoverflow.com/a/16949127/541303
@deshipu I'm doing the same way for a few years. Even this could be a rule in PEP8 instead of a recommendation or project-specific rule. Now I see that these string quotes are written in different styles in every project.
I think single-quote and double-quote characters should NOT be the same. It doesn't provide readability, causes inconsistency instead. Please always use double-quote as in many other programming languages. #python
We can say that BASH is a semi-functional programming language, it's possible to send the output of a command (function) to another command as a parameter. #bash
"As of Python 3.6, f-strings are a great new way to format strings. Not only are they more readable, more concise, and less prone to error than other ways of formatting, but they are also faster!"
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!
We adhere to an adapted version of the TootCat Code of Conduct and follow the Toot Café list of blocked instances. Ash is the admin and is supported by Fuzzface, Brian!, and Daniel Glus as moderators.
Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!