Category Archives: Python

Python pycrypto: using AES-128 in ECB mode

In this tutorial we will check how to encrypt and decrypt data with AES-128 in ECB mode, using Python and the pycrypto library. Advertisements

Posted in Python | Tagged , , , , , , | 3 Comments

Python: Websocket client

The objective of this post is to explain how to create a simple Python websocket client to contact an online test echo server.

Posted in Python | Tagged , , , , , , | 1 Comment

Python: Converting string to bytes object

In this post, we will check how to convert a Python string to a bytes object. Bytes objects are immutable sequences of single bytes in the range between o and 255 (inclusive).

Posted in Python | Tagged , , , , | Leave a comment

Python: socket server

The objective of this post is to explain how to create a simple socket server using Python and reach it with a client.

Posted in Python | Tagged , , , | 4 Comments

Flask: Basic authentication

In this Flask tutorial, we will check how to get the username and the password from a HTTP request made to a Flask server with basic authentication.

Posted in Python | Tagged , , , , , | 2 Comments

Python pyttsx: Changing speech rate and volume

The objective of this post is to explain how to change the speech rate and volume on the pyttsx module.

Posted in Python | Tagged , , | 2 Comments

Python: Speech Synthesis

The objective of this post is to explain how to synthesis a simple speech using Python and the pyttsx module.

Posted in Python | Tagged , , | 3 Comments