Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Activity for tripleeeā€­

Type On... Excerpt Status Date
Answer A: What is the point of pipx?
They are tools for different audiences. `pipx` does not replace `pip`. In some more detail, `pip` answers the question "As a Python developer, how can I install Python packages and their dependencies" whereas `pipx` answers the question "As a user, how can I conveniently install a tool which is av...
(more)
9 months ago
Answer A: How to configure Python pip to look for packages in a private index first?
The `pip` command accepts an option `--index-url` to specify the primary index (defaults to PyPI) and zero or more `--extra-index-url` options to specify secondary indices. So for your use case, try ```sh pip install --index-url https://pypi.bar.com/simple --extra-index-url https://pypi.org/simpl...
(more)
11 months ago
Answer A: For scripting what are the pros and cons of command line arguments versus capturing input at the start?
I'm coming down strongly in favor of command-line arguments or options over interactive I/O for a number of reasons: Providing arguments on the command line is vastly superior for programmatic invocation (for scripts calling scripts, including but not limited to the tool's own test suite, othe...
(more)
11 months ago
Answer A: grep AND search for multiple words in files
An alternative to `grep` is Awk, which makes this pretty easy. To find lines which contain both: ``` find . -type f -exec awk '/foo/ && /bar/' {} + ``` (Maybe add `{ print FILENAME ":" FNR ":" $0 }` before the closing quote if you want the filename and the line number.) To find files wh...
(more)
11 months ago