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
Convert Image to text
import pytesseract as t
from PIL import Image
img = Image.open("photo.jpg")
text = t.image_to_string(img)
print(text)
import pytesseract as t
from PIL import Image
img = Image.open("photo.jpg")
text = t.image_to_string(img)
print(text)
Downloading a Audio file from YouTube Video
Free Code: https://www.clcoding.com/2024/06/downloading-audio-file-from-youtube.html
Free Code: https://www.clcoding.com/2024/06/downloading-audio-file-from-youtube.html
Tornado: a web framework for asynchronous network operations
Tornado is a web framework and Python library designed to handle network operations asynchronously.
Features of Tornado:
* Non-blocking I/O processing that scales to tens of thousands of active connections.
* Independence from the WSGI standard, which makes it different from most Python web frameworks.
* Integration with the asyncio module from the Python standard library, providing the same event loop.
* Support for long polling and web sockets.
Link: https://www.tornadoweb.org/en/stable/
Tornado is a web framework and Python library designed to handle network operations asynchronously.
Features of Tornado:
* Non-blocking I/O processing that scales to tens of thousands of active connections.
* Independence from the WSGI standard, which makes it different from most Python web frameworks.
* Integration with the asyncio module from the Python standard library, providing the same event loop.
* Support for long polling and web sockets.
Link: https://www.tornadoweb.org/en/stable/
Media is too big
VIEW IN TELEGRAM
Create email and text message SMS alerts with #Python!
Forwarded from هشتگ تبلیغ تخصصی
This media is not supported in your browser
VIEW IN TELEGRAM
سرور ابری ویراک
✅۳۰۰ هزار تومان شارژ بیشتر برای هر یک میلیون تومان واریزی
✅تا ۹۸۰Mbps پهنای باند
✅ترافیک یک به یک
✅هر ۱۰ روز یه تخفیف جذاب دریافت کن
👇👇
Panel.virakcloud.com
مشاوره تلفنی:
☎️
۰۲۱۹۱۵۵۵۵۳۰
✅۳۰۰ هزار تومان شارژ بیشتر برای هر یک میلیون تومان واریزی
✅تا ۹۸۰Mbps پهنای باند
✅ترافیک یک به یک
✅هر ۱۰ روز یه تخفیف جذاب دریافت کن
👇👇
Panel.virakcloud.com
مشاوره تلفنی:
☎️
۰۲۱۹۱۵۵۵۵۳۰