Intro to Nuitka: A better way to compile and distribute Python

As Python’s popularity rises, its limitations are becoming more clear. For one thing, it can be very hard to write a Python application and distribute it to people who don’t have Python installed. The most common way to solve this issue is to package the program together with all its supporting libraries and files and … Read more

Python garbage collection and the gc module

Python grants its users many conveniences, and one of the largest is (nearly) hassle-free memory management. You don’t need to manually allocate, track, and dispose of memory for objects and data structures in Python. The runtime does all of that for you, so you can focus on solving your actual problems instead of wrangling machine-level … Read more

How to create Word docs from R or Python with Quarto

There are several ways to create a Word document from programming languages, including R Markdown and the officer package with R and the python-docx library in Python. But one of the newest and more intriguing is Quarto, a free, open source technical publishing system from RStudio (now Posit) that’s native to Python and Julia as … Read more

Paraphrase Text in Python Using NLP Libraries

Python is a robust object-oriented programming (OOP) language that finds a lot of use in the field of artificial intelligence. It is so useful that mega tech companies like Google have made libraries such as Tensorflow to help people to leverage powerful machine learning algorithms and models for various purposes. People have made ‘sign language’ … Read more

Object Detection Inference in Python with YOLOv5 and PyTorch

Introduction Object detection is a large field in computer vision, and one of the more important applications of computer vision “in the wild”. On one end, it can be used to build autonomous systems that navigate agents through environments – be it robots performing tasks or self-driving cars, but this requires intersection with other fields. … Read more

How To Poll Sockets Using Python. A faster, more efficient way to… | by Tate Galbraith | Aug, 2022

A faster, more efficient way to interact with sockets Photo by Maarten van den Heuvel on Unsplash If you’re writing code that reads to or writes from a network socket, you want those operations to be as fast and efficient as possible. Maybe you want to keep an eye on multiple sockets without compromising speed … Read more

PyCoder’s Weekly: Issue #539 (Aug. 23, 2022)

#539 – AUGUST 23, 2022 View in Browser » Understanding async Python for the Web “Recently Django 4.1 was released, and the thing most people seem interested in is the expanded async support. The Python web ecosystem has been seeing new frameworks pop up which are fully async, or support going fully async, from the … Read more

Object Detection and Instance Segmentation in Python with Detectron2

Introduction Object detection is a large field in computer vision, and one of the more important applications of computer vision “in the wild”. On one end, it can be used to build autonomous systems that navigate agents through environments – be it robots performing tasks or self-driving cars, but this requires intersection with other fields. … Read more