>I couldn't find any function in Python to convert integers to binary >and vice versa, for example: Try int ("1111", 2) to go from binary to integer. For the reverse direction, you'll probably have to implement a couple of lines of actual code. :-) Jan