Python · OS, sys, argparse & subprocess
os.system("ls") only returns the exit code. Using just the os module (no subprocess), how can you actually read a command's output?
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
