Re: integer to binary 0-padded

2011-06-15 Thread Daniel Rentz
Hi, Am 15.06.2011 14:29, schrieb Olivier LEMAIRE: Hi there, I've been looking for 2 days for a way to convert integer to binary number 0-padded, nothing... I need to get numbers converted with a defined number of bits. For example on 8 bits 2 = 0010 bin(2)[2:].zfill(8) Regards Daniel --

Compiling Python 3.2 on Cygwin fails

2011-05-03 Thread Daniel Rentz
Hello, I've downloaded the 3.2 source tarball from python.org and tried to compile Python from scratch in a Cygwin 1.7.7 environment. Configure works as expected. Make fails with the following message: make: *** No rule to make target `libpython3.2m.dll.a', needed by `python.exe'. Stop. T