trouble converting c++ bitshift to python equivalent

nanodust at gmail.com nanodust at gmail.com
Thu May 24 16:33:22 EDT 2007


>   (ord(strBuf[2])<<7) + ord(strBuf[1])


wow, thank you - works perfectly !

and much more elegant than what i was up to.

thanks again...




More information about the Python-list mailing list