Python Console Operations

Console Operations

We can read from, or write to standard console. The following tutorials cover some of the scenarios of reading values of basic datatypes, and writing information to output.

Console Input Operations

The following tutorials, cover topics related to reading input through console.

Console Output Operations

import sys
sys.stdout = open('output.txt', 'w')
print 'Hello World'

Related Tutorials

Code copied to clipboard successfully 👍