Using a C++-like iostream Syntax(Python cookbook 2-13)
Problem
You like the C++ approach to I/O, based on ostreams and manipulators (special objects that cause special effects on a stream when inserted in it) and want to use it in your Python programs.
Solution
IOManipulator
endl
OStream
Usage
Example