B
This commit is contained in:
parent
e5e8880e41
commit
518da4a923
1019 changed files with 15877 additions and 0 deletions
10
Task/Bitwise-IO/Python/bitwise-io-3.py
Normal file
10
Task/Bitwise-IO/Python/bitwise-io-3.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#! /usr/bin/env python
|
||||
import sys
|
||||
import bitio
|
||||
|
||||
r = bitio.BitReader(sys.stdin)
|
||||
while True:
|
||||
x = r.readbits(7)
|
||||
if ( r.read == 0 ):
|
||||
break
|
||||
sys.stdout.write(chr(x))
|
||||
Loading…
Add table
Add a link
Reference in a new issue