Python Code Tutorials


articles/predicted_age.jpg
Age Detection using OpenCV in Python

Learn how to predict someone's age from his front face picture using OpenCV library in Python

articles/merge-pdf-files-in-python.jpg
How to Merge PDF Files in Python

Learn how to merge two or multiple PDF files into a single PDF file using PyPDF4 library in Python

articles/encrypt-pdf-files-using-python.jpg
How to Encrypt and Decrypt PDF Files in Python

Learn how to add and remove passwords to PDF files using PyPDF4 library, as well as using pyAesCrypt to encrypt and decrypt PDF files in Python

articles/compress-pdf-files-in-python.jpg
How to Compress PDF Files in Python

Learn how to compress PDF files in Python using the wrapper of PDFTron SDK.

articles/convert-pdf-files-to-images-using-python.jpg
How to Convert PDF to Images in Python

Learn how to use PyMuPDF library to convert PDF files into individual images per page in Python.

articles/convert-pdf-to-docx-in-python.jpg
How to Convert PDF to Docx in Python

Learn how you can use pdf2docx library to convert PDF files to docx word files in Python

articles/pdf-ocr.jpg
How to Extract Text from Images in PDF Files with Python

Learn how to leverage tesseract, OpenCV, PyMuPDF and many other libraries to extract text from images in PDF files with Python

articles/highlight-text-in-pdf-files-with-python.jpg
How to Highlight and Redact Text in PDF Files with Python

Learn how to use PyMuPDF library to highlight, frame, underline, strikeout and redact text in PDF Files with Python.

articles/imbalancedata_yVSlYfN.png
Imbalance Learning With Imblearn and Smote Variants Libraries in Python

Learn how to overcome imbalance related problems by either undersampling or oversampling the dataset using different types and variants of smote in addition to the use of the Imblearn library in Python.

articles/watermark-pdf-with-python.jpg
How to Watermark PDF Files in Python

Learn how to add and remove watermarks to/from PDF files with PyPDF4 and reportlab libraries in Python.

articles/creating-webhooks-in-python-with-flask.jpg
Webhooks in Python with Flask

Learn how to create a streaming application with real-time charting by consuming webhooks with the help of Flask, Redis, SocketIO and other libraries in Python.

articles/creating-a-watchdog-in-python.jpg
How to Create a Watchdog in Python

Learn how to monitor and watch your file system for events by creating a watchdog in Python with watchdog and pygtail libraries.

articles/changing-text-color-in-python.jpg
How to Change Text Color in Python

Learn how to use colorama library to print colored text with different colors (such as red, green and blue) in the background and foreground and brightness in Python.

articles/chatbot-using-huggingface-transformers.jpg
Conversational AI Chatbot with Transformers in Python

Learn how to use Huggingface transformers library to generate conversational responses with the pretrained DialoGPT model in Python.

articles/asynchronous-tasks-with-celery-python.jpg
Asynchronous Tasks with Celery in Python

Learn how to leverage Celery library, Redis database and SocketIO library to build synchronous and asynchronous tasks with Flask in Python.

articles/fraud-transactions-detector-with-kafka-python.jpg
Detecting Fraudulent Transactions in a Streaming App using Kafka in Python

Learn how to detect and filter fraudulent transactions in a streaming application using Apache Kafka with Python API.




🕒 Limited-Time Offer!
EBook Image

Spring Promotion Special! Get our The Python Code eBook Bundle at 40% off. Limited time only!

$122.00 $73.20