Jun-23-2023, 01:32 AM
i need to have the ability to do standard I/O redirection within a CLI script in Python. I've done this a few times in C. to do this in Python i could just follow the way in C using os.open(), os.dup2(), and os.close(). but that might not let Python know what is going on, if it needs to know. is there a good Pythonic way to do this?
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.