Top "Stdout" questions

The standard output stream (stdout) is the stream where a program writes its output data.

Disable output buffering

Is output buffering enabled by default in Python's interpreter for sys.stdout? If the answer is positive, what are all …

python stdout buffered
Scanf/Printf double variable C

Let's say I have this following bit of code in C: double var; scanf("%lf", &var); printf("%lf", var); …

c double printf stdout stdin
logger configuration to log to file and print to stdout

I'm using Python's logging module to log some debug strings to a file which works pretty well. Now in addition, …

python file logging stdout
Confused about stdin, stdout and stderr?

I am rather confused with the purpose of these three files. If my understanding is correct, stdin is the file …

linux stdout stdin stderr
Setting the correct encoding when piping stdout in Python

When piping the output of a Python program, the Python interpreter gets confused about encoding and sets it to None. …

python encoding terminal stdout python-2.x
How to redirect both stdout and stderr to a file

I am running a bash script that creates a log file for the execution of the command I use the …

bash stdout io-redirection stderr
Python: How to get stdout after running os.system?

I want to get the stdout in a variable after running the os.system call. Lets take this line as …

python python-2.7 stdout stderr os.system
What does it mean to write to stdout in C?

Does a program that writes to "stdout" write to a file? the screen? I don't understand what it means to …

c unix stdout
Command to get nth line of STDOUT

Is there any bash command that will let you get the nth line of STDOUT? That is to say, something …

bash shell sed stdout
How to disable logging on the standard error stream in Python?

How to disable logging on the standard error stream in Python? This does not work: import logging logger = logging.getLogger() …

python logging console stdout