This is actually just my codebreaking toolkit

This commit is contained in:
Neale Pickett 2007-12-14 16:30:03 -07:00
parent c721f5876c
commit 2795e24988
5 changed files with 0 additions and 18 deletions

View File

@ -1,10 +0,0 @@
from StringIO import StringIO
class bitvector:
def __init__(self, txt):
self.txt = txt
def __getitem__(self, idx):
base, offset = divmod(idx, 8)
o = ord(self.txt[base])
return (o >> offset) & 1

View File

@ -1,8 +0,0 @@
try:
import readline
except ImportError:
print "Module readline not available."
else:
import rlcompleter
readline.parse_and_bind("tab: complete")