hiya, Ive a load of binary in a file. Its 3 bit (2^3) and i wanna convert it to an integer. ive tried using theintergar = string.atoi(thebinary, 2), but that doesnt take it as 3 bit binary it has no spaces it it, so im a bit stuck as to how to do this with python, cheers greg