Python 3 Beginners.pdf
9.5 MB
#Python 3 : 400 exercises and solutions for beginners
🖥 badjpg
This useful Python script allows you to hide useful information inside a JPG image using steganography techniques.
▪ Github
git clone https://github.com/basicW/badjpg.git
This useful Python script allows you to hide useful information inside a JPG image using steganography techniques.
▪ Github
git clone https://github.com/basicW/badjpg.git
🖥 zarr - Python library for implementing compressed N-dimensional arrays
- pip install zarr
Zarr provides classes and functions for working with N-dimensional arrays, which behave like #NumPy arrays, but the data is divided into chunks and each chunk is compressed. If anyone is familiar with HDF5, Zarr arrays provide similar functionality, but they are more convenient.
Also, unlike HDF5, Zarr has better multithreading support.
- pip install zarr
Zarr provides classes and functions for working with N-dimensional arrays, which behave like #NumPy arrays, but the data is divided into chunks and each chunk is compressed. If anyone is familiar with HDF5, Zarr arrays provide similar functionality, but they are more convenient.
Also, unlike HDF5, Zarr has better multithreading support.
learneverythingai .pdf
3.8 MB
آموزش کتابخانه pandas در پایتون با مثال
🖥 چگونه با استفاده از پایتون متن مخفی را در داخل یک عکس پنهان کنیم؟
هیچ چیز پیچیده ای نیست، فقط به کتابخانه Stegano نیاز دارید
# pip install stegano
from stegano import lsb
secret = lsb.hide('image.png', 'очень секретный текст')
secret.save('secret_image.png')
print(lsb.reveal('secret_image.png'))
هیچ چیز پیچیده ای نیست، فقط به کتابخانه Stegano نیاز دارید
# pip install stegano
from stegano import lsb
secret = lsb.hide('image.png', 'очень секретный текст')
secret.save('secret_image.png')
print(lsb.reveal('secret_image.png'))
How to easily blur any image using PIL
from PIL import Image, ImageFilter
def blur_image(image_path, output_path, radius):
image = Image.open(image_path)
blurred_image = image.filter(ImageFilter.GaussianBlur(radius))
blurred_image.save(output_path)
blur_image('cat.jpg', 'cat_out.jpg', 3)
Image.open('cat_out.jpg')
🟡 In general, the PIL library has a lot of features and excellent documentation
from PIL import Image, ImageFilter
def blur_image(image_path, output_path, radius):
image = Image.open(image_path)
blurred_image = image.filter(ImageFilter.GaussianBlur(radius))
blurred_image.save(output_path)
blur_image('cat.jpg', 'cat_out.jpg', 3)
Image.open('cat_out.jpg')
🟡 In general, the PIL library has a lot of features and excellent documentation