Posts by Paulo Pinheiro • 71 points
3 posts
-
1
votes1
answer198
viewsA: How to convert an integer to a binary string in Python 3?
No Stack Overflow in English has an answer. Then your loop would be (I limited the maximum but test it works): >>> for i in range(20): ... print(bytes([i])) ... b'\x00' b'\x01' b'\x02'…
-
2
votes1
answer396
viewsA: Testing with digital certificates
For an invalid certificate it is easy, just create a self-signed certificate, with some variations such as a wrong domain name. As for certificates that are valid on time and expired, the best way…
-
1
votes2
answers578
viewsA: Perl for web development
Yes, it is possible to develop in Perl for WEB. The biggest benefit is the modules available in the CPAN as aid to an immense amount of problems already solved. Even for object orientation, you have…