sometimes i just want to quickly redirect a large output to an external program, supposing that in Python 3.x i have
>>> import sys
>>> sys.modules.keys()
how i can redirect the output of
>>> sys.modules.keys()
to a specific command or application ?
If you do such things quite often, it could be useful to create a helper module which essentially does
which enables you to do