A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/080123.html below:

how to calculate the size of sys.stdin?

how to calculate the size of sys.stdin? how to calculate the size of sys.stdin?Graham Guttocks graham_guttocks at yahoo.co.nz
Wed Apr 11 19:49:59 EDT 2001
Robin Thomas <robin.thomas at starmedia.net> wrote: 

> import sys
> bytes = sys.stdin.read()
> size_of_stdin = len(bytes)

Perfect.  Thanks again folks!

Cheers,
Graham

_____________________________________________________________________________
http://movies.yahoo.com.au - Yahoo! Movies
- Now showing: Dude Where's My Car, The Wedding Planner, Traffic..


More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4