isstdin variable and stdin(linebreak=True) function - detect and read stdin
Project description
Install
github.com: pip install git+git://github.com/russianidiot/stdin.py.git
pypi.python.org: pip install stdin
download: python setup.py install
or setup/.setup.py develop.command
Usage
from stdin import *
isstdin
>>> True
if isstdin:
stdin()
>>> '...'
Tested: python 2.6, 2.7, 3+
Bug Tracker: github.com/russianidiot/stdin.py/issues
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stdin-0.0.1.tar.gz
(4.6 kB
view hashes)