Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 973 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 973 Bytes

Python Algorithms and Tests

This repository contains a collection of Python tests and algorithms for practice and study purposes.

Features

The repository includes:

algorithms/: A directory containing various Python algorithms for practice and study purposes.

  • text_to_image.py: A Python script that converts a text message into an image file. For example, calling the function with the message "Eu Te Amo" will generate a 4-pixel image. The first three pixels contain the text, and the last pixel marks the end of the message. Here is an example of the generated image:

    Sample

  • image_to_text.py: A Python script that reads an image file and converts it back to the original text message.

tests/: This directory contains unit tests for the algorithm scripts. You can run these tests using the file run_tests.py.

doc/: This directory contains documentation elements.