Category Archives: Python

Python OpenCV: Drawing circles

In this tutorial, we will check how to draw circles in an image with OpenCV and Python. Advertisements

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

Python OpenCV: Saving an image to the file system

In this tutorial we will check how to save an image to the file system using OpenCV on Python.

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

Python OpenCV: Converting an image to gray scale

In this tutorial we will check how to read an image and convert it to gray scale, using OpenCV and Python.

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

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.

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 , , , , , , | 2 Comments

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 , , , | 5 Comments