Posts by Mauricio Toledo • 1 point
2 posts
-
-1
votes1
answer110
viewsA: Browse multiple Linux terminal directories
Use the grep and a for loop. Example: $ grep -R stretch /etc/*
-
0
votes2
answers42
viewsA: If a function is too long, is it recommended to divide it into smaller ones?
Separate them into modules. The good part of python is that you can only instantiate them in import. Depending on the case, extend the parameters and reuse a function for different tasks.…