Python
16 Dec 2009
 

ascii 2 bin strip

 
 
1
print("\n".join([bin(ord(c)-96)[2:].rjust(5, '0') for c in a.replace(' ', chr(96))] + ['1'*5]))