Python · OS, sys, argparse & subprocess
You run os.system("grep error app.log") and want the matching lines in a Python variable. Why doesn't that work, and what should you use?
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
