Skip to content Skip to sidebar Skip to footer

Writing To A File Prints Integers To My Idle Shell

Writing to a file prints integers to my IDLE shell. They seem to range from 15-40 and there's one for every line printed to my file. This only occurs if I write the statement direc

Solution 1:

When you execute a statement in the interactive interpreter and that statement is an expression that returns a value, the result will be displayed. write() returns how many bytes were written.


Post a Comment for "Writing To A File Prints Integers To My Idle Shell"