Tag: python (15 articles)

Thumbnail

wchanger is a versatile wallpaper changer script designed for i3 users, offering seamless integration into the i3 environment. Although the repository is no longer actively updated, the 5-year-old code still functions well, albeit with room for improvement. Explore the GitHub repository and contribute to its development!

... Read More


Keywords: wallpaper changer i3 Desktop Customization wchanger script ...
Thumbnail

Discover how to implement a secure delete functionality for books in your Flask application. This comprehensive guide covers backend considerations for authentication, file deletion, and database operations, complemented by a compact yet effective Jinja2 template for the frontend. Enhance user experience with a small \"Delete\" button and a JavaScript confirmation popup, preventing accidental deletions. Explore the world of Flask functionalities and feel free to reach out for personalized articles tailored to your specific interests

... Read More


Keywords: Flask Flask application secure delete backend security frontend design ...
Thumbnail

Elevate your Flask application's database resilience with the powerful retry_database_connection decorator. Discover effective strategies to optimize code, handle concurrency challenges, and ensure a smooth user experience. Explore advanced Flask development techniques for robust database interactions. Happy coding!

... Read More


Keywords: Flask python Database Resilience Decorator Concurrency Handling ...
Thumbnail

This article discusses the fascinating concept of extracting text from images using Python and Pytesseract. It covers the installation process of Pytesseract and PIL, and provides a simple code example to extract text from an image. The article also highlights the limitations of Pytesseract and suggests experimenting with different configurations to achieve the best results.

... Read More


Keywords: python Pytesseract OCR optical character recognition image processing ...
Thumbnail

Learn how to extract the first page from a PDF file as a PNG image file using PyMuPDF's fitz module. This article explains the features of the fitz module and provides a Python script for extracting PDF pages as images. A bash script is also provided to demonstrate how to activate a local virtual environment and run the Python script with the necessary dependencies.

... Read More


Keywords: PyMuPDF fitz module PDF image extraction virtual environment ...