Best of PythonApril 2022

  1. 1
    Article
    Avatar of inPlainEngHQPython in Plain English·4y

    10 Python Automation Scripts for Everyday Problems

    This script is a handful of snippet codes for programmers who need to programmatically edit their images. It uses the Moviepy module to edit the video. This automation script will simply help you Watermark your PDF page by page. Check out the code below to edit your video programmatically.

  2. 2
    Article
    Avatar of itnextITNEXT·4y

    Creating A Modern Python Development Environment

    Pyenv is a tool that lets you easily switch between multiple versions of Python. For Windows users, I recommend you install WSL2, a Windows Subsystem that lets developers run a Linux environment without the overhead of a traditional virtual machine or dual-boot setup. Poetry helps maintain consistent coding styles for developers.

  3. 3
    Article
    Avatar of inPlainEngHQPython in Plain English·4y

    10 Automation Scripts for Your Daily Python Projects

    This automation script will help you to Generate QR Codes and decode them. It uses three different modules to generate and decode QR Codes. If you scan the generated QR Code with Google Lens or any app you will get the same data that is encoded in the QR Code. This script uses the module BeautifulSoup and it is a handy script for Web Scraper and data miner using Python.

  4. 4
    Article
    Avatar of anavidAnalytics Vidhya·4y

    Face Recognition System Using Python

    This article focuses on implementing face recognition using the library face_recognition. It is built on deep learning techniques and promises accuracy greater than 96% using a single training image. The library can quickly locate and locate faces on its own, we don’t need to use haar Cascade and other techniques.

  5. 5
    Article
    Avatar of tdsTowards Data Science·4y

    7 Code Smells You Should Know About And Avoid

    A code smell can be thought of as smelling gas or smoke in your home. It serves as an indicative warning that your code needs some attention. Bad code smells can be an indicator of factors that contribute to technical debt. Duplicate code is the most common code smell you’ll find in programs.

  6. 6
    Article
    Avatar of dzDZone·4y

    10 Must-know Patterns for Writing Clean Code With Python

    Clean code is focused. Each function, class, or module should do one thing and do it well. Clean code is easy to read and reason about. Bad code can lead to technical debt which can have severe consequences on the company. We will look at some design patterns that help us to write clean code in Python.

  7. 7
    Article
    Avatar of tdsTowards Data Science·4y

    Automate WhatsApp Messages with Python in 3 Steps

    Python lets you send WhatsApp messages to any of your contacts or even to a group. To send a message to a contact with Python and pywhatkit, we use the .sendwhatmsg method as shown in the code below. We can also send messages to a specific group on WhatsApp, but first, we have to get the group id.

  8. 8
    Article
    Avatar of hnHacker News·4y

    Switching from pyenv, rbenv, goenv and nvm to asdf

    Asdf-vm is a tool for creating virtual environments. It can be used to replace Python, Ruby, nodejs, and goenv. Asdf can be installed using git or by using the asdf package manager. You can checkout a more detailed documentation here: https://asdf-VM.com/core-manage-asdf.

  9. 9
    Article
    Avatar of btrprogBetter Programming·4y

    I Coded The Same Algorithm in Python and Rust. Here Are the Performance Differences

    Rust was created in 2010 by Mozilla, ten years later was created Rust foundation to maintain this language as an open-source language. Rust can do a lot of types of apps: CLI, web server, web assembly (some browsers can execute rust code), Scraping, Microcontrollers (embedded devices)

  10. 10
    Article
    Avatar of tdsTowards Data Science·4y

    5 Things That Will Instantly Make Your Python Code More Pythonic

    The rules of one language don’t necessarily apply to another. Many programmers who code in various languages get caught in this trap too. Taking time to understand the best practices of a language is beneficial to not only yourself but to others who have to collaborate with you. 5 Things That Will Instantly Make Your Python Code More Pythonic.

  11. 11
    Article
    Avatar of dzDZone·4y

    Diagrams as Code: The Complete How-to-Use Guide

    Diagrams allows you to draw cloud system architecture in Python code. It supports major providers such as AWS, Azure, GCP, Kubernetes, OpenStack, Oracle Cloud, etc. The main benefit of using this concept is that majority of the Diagrams as Code tools can be scripted.

  12. 12
    Article
    Avatar of changelogChangelog·4y

    memray

    Memray is a memory profiler for Python. It can track memory allocations in Python code, in native extension modules, and in the Python interpreter itself. Traces every function call so it can accurately represent the call stack, unlike sampling profilers. Can generate various reports about the collected memory usage data.

  13. 13
    Article
    Avatar of tdsTowards Data Science·4y

    Python is About to Become 64% Faster — Python 3.10 vs. Python 3.11 Benchmark

    Python 3.11 is expected to air in October 2022. The new version is marginally slower on some benchmarks, but on the others, it’s up to 64% faster. I ran the benchmarks on M1 Pro MacBook Pro 16 with a 10-core CPU.

  14. 14
    Article
    Avatar of phProduct Hunt·4y

    Pipedream 2.0 - Integration Platform for Developers

    Pipedream is an integration platform built for developers building workflows and connecting cloud services. Over 700 integrated applications, or write any Node.js, Python, Go, or Bash code for custom logic. Author workflows without code, with over 700 integrated apps.

  15. 15
    Article
    Avatar of newstackThe New Stack·4y

    Python for Beginners: How to Build a GUI Application

    Python is capable of building apps with graphical user interfaces (GUIs) These apps can use buttons, checklists, dropdown lists, and more. With just a little help from a GUI toolkit, you can create GUI applications with Python. Let me show you how it’s done.

  16. 16
    Article
    Avatar of hashnodeHashnode·4y

    How I tanked a FAANG interview

    Spazure has been working in the tech industry for a little over 20 years. He has always wanted to be a programmer, but has never quite gotten there. Last year, when he turned 40, he vowed to change everything. Spazure is now taking 12 hours of school to get a job as an intern.

  17. 17
    Article
    Avatar of geekflareGeekflare·4y

    7 Programming Languages to Use in Data Science

    Python is one of the most powerful and flexible languages out there, and it’s also vastly used in data science. R is an interpreted language, so you can run your code without the need for any compiler. Julia takes the best from languages like Python, Ruby, Lisp, and R, combines it with the speed of C, and includes familiar mathematical notation.