---
title: "#python articles | Hashnode"
description: "Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Read the latest #python articles and tutorials on Hashnode."
url: "https://hashnode.com/tag/python"
---

Tag

# #python

32,697 posts · 207,608 followers

[Abdus Salam](https://hashnode.com/@aheadkit) · [6h ago](https://hashnode.com/posts/ten-threads-ten-thousand-increments-and-a-counter-that-came-up-short/6af55f6e4e46d0bbbcb78c6e)

### [Ten Threads, Ten Thousand Increments, and a Counter That Came Up Short](https://aheadkit.hashnode.dev/ten-threads-ten-thousand-increments-and-a-counter-that-came-up-short?utm_source=hashnode&utm_medium=feed)

Every concurrency tutorial has the same demo. Ten threads, each increments a shared counter 1,000 times, the answer should be 10,000, and without a lock it comes up short. I ran it. It came back 10,00

5 min read · [aheadkit.hashnode.dev](https://aheadkit.hashnode.dev/ten-threads-ten-thousand-increments-and-a-counter-that-came-up-short?utm_source=hashnode&utm_medium=feed)

[Carlos José Castro Galante](https://hashnode.com/@carlosjcastrog) · [10h ago](https://hashnode.com/posts/how-to-classify-and-route-text-with-the-azure-openai-decisions-api/6af5281301f43da221d741ed)

### [How to classify and route text with the Azure OpenAI Decisions API](https://carlosjcastrog.hashnode.dev/how-to-classify-and-route-text-with-the-azure-openai-decisions-api?utm_source=hashnode&utm_medium=feed)

Asking a language model to pick a category usually ends with code that parses its prose, hopes the label is spelled the way you expected and breaks the day the model adds a polite sentence before the

12 min read · [carlosjcastrog.hashnode.dev](https://carlosjcastrog.hashnode.dev/how-to-classify-and-route-text-with-the-azure-openai-decisions-api?utm_source=hashnode&utm_medium=feed)

[Raghav Chamadiya](https://hashnode.com/@RaghavChamadiya) · [6m ago](https://hashnode.com/posts/python-dead-code-what-51-popular-python-repos-ship-that-nothing-imports/6af5bbdec8247212e0ed54e0)

### [Python dead code: what 51 popular Python repos ship that nothing imports](https://repowise.hashnode.dev/python-dead-code-what-51-popular-python-repos-ship-that-nothing-imports?utm_source=hashnode&utm_medium=feed)

TL;DR 45 of 50 popular Python repos (1,000+ GitHub stars) have at least one dead-code finding in production code, and in the median repo 3.9% of production files are flagged as unreachable. In Python

12 min read · [repowise.hashnode.dev](https://repowise.hashnode.dev/python-dead-code-what-51-popular-python-repos-ship-that-nothing-imports?utm_source=hashnode&utm_medium=feed)

[anders lee](https://hashnode.com/@anderslee) · [16m ago](https://hashnode.com/posts/exec-format-error-images-built-on-an-apple-silicon-mac-running-on-an-x86-server/6af5b99c2a527ab050c0d0c0)

### [exec format error": images built on an Apple Silicon Mac, running on an x86 server](https://anders.hashnode.dev/exec-format-error-images-built-on-an-apple-silicon-mac-running-on-an-x86-server?utm_source=hashnode&utm_medium=feed)

The image runs fine on your Mac. You push it, pull it on a cloud server, and the container exits immediately: exec /app: exec format error The image isn't corrupted. It was built for the wrong CPU. A

4 min read · [anders.hashnode.dev](https://anders.hashnode.dev/exec-format-error-images-built-on-an-apple-silicon-mac-running-on-an-x86-server?utm_source=hashnode&utm_medium=feed)

[Durim](https://hashnode.com/@durimhoti) · [6h ago](https://hashnode.com/posts/how-i-built-a-python-compiler-that-runs-in-your-browser-with-real-input/6af56558c53626d92547d162)

### [How I Built a Python Compiler That Runs in Your Browser, With Real input()](https://durimhoti.hashnode.dev/how-i-built-a-python-compiler-that-runs-in-your-browser-with-real-input?utm_source=hashnode&utm_medium=feed)

Originally published on Medium. I'm Durim, and I build HTML Suite, a set of free developer tools that run entirely in the browser: an HTML editor, JSON and YAML formatters, converters and a Python onl

4 min read · [durimhoti.hashnode.dev](https://durimhoti.hashnode.dev/how-i-built-a-python-compiler-that-runs-in-your-browser-with-real-input?utm_source=hashnode&utm_medium=feed)

[Abdus Salam](https://hashnode.com/@aheadkit) · [6h ago](https://hashnode.com/posts/a-nested-quantifier-made-my-regex-take-seconds-on-a-30-character-string/6af55ef1ab4ca5f49f2ce02f)

### [A Nested Quantifier Made My Regex Take Seconds on a 30-Character String](https://aheadkit.hashnode.dev/a-nested-quantifier-made-my-regex-take-seconds-on-a-30-character-string?utm_source=hashnode&utm_medium=feed)

I was validating a field that should only contain the letter a. Simple job. I wrote this: import re pat = re.compile(r'^(a+)+$') It looked fine. It matched aaa. It matched thirty a's in a blink. Then

5 min read · [aheadkit.hashnode.dev](https://aheadkit.hashnode.dev/a-nested-quantifier-made-my-regex-take-seconds-on-a-30-character-string?utm_source=hashnode&utm_medium=feed)

[Prince Tech](https://hashnode.com/@princetech31) · [1h ago](https://hashnode.com/posts/real-time-audio-dsp-offline-whisper-cpu/6af5abf12a00ef101463a8c9)

### [Building a Real-Time 64-Band Audio DSP Lab and Offline Whisper Engine on CPU](https://princesanchela.hashnode.dev/real-time-audio-dsp-offline-whisper-cpu?utm_source=hashnode&utm_medium=feed)

How I decoupled deterministic audio capture, logarithmic FFT spectral analysis, F0 vocal biometrics, and zero-cloud neural language identification in LangVoi Voice Studio Pro.

5 min read · [princesanchela.hashnode.dev](https://princesanchela.hashnode.dev/real-time-audio-dsp-offline-whisper-cpu?utm_source=hashnode&utm_medium=feed)

[jovin george](https://hashnode.com/@softreviewed) · [1h ago](https://hashnode.com/posts/gemini-decision-1-engineering-teardown-noul-choice-score-mind2web-ece-0-0250/6af5a9ef8b731b2e3d849cd2)

### [Gemini Decision 1 Engineering Teardown : noul, choice, score, Mind2Web & ECE 0.0250](https://softreviewed.hashnode.dev/gemini-decision-1-engineering-teardown-noul-choice-score-mind2web-ece-0-0250?utm_source=hashnode&utm_medium=feed)

Engineering teardown of Google's gemini-decision-1: noul, choice, score, Mind2Web, When2Call, and 0.0250 ECE calibration.

7 min read · [softreviewed.hashnode.dev](https://softreviewed.hashnode.dev/gemini-decision-1-engineering-teardown-noul-choice-score-mind2web-ece-0-0250?utm_source=hashnode&utm_medium=feed)

[locaihost data](https://hashnode.com/@locaihostdata) · [1h ago](https://hashnode.com/posts/1-200-google-play-reviews-of-monzo-revolut-wise-and-starling-in-10-seconds-who-answers-the-angry-ones/6af5a49cfe8881e25596084a)

### [1,200 Google Play reviews of Monzo, Revolut, Wise and Starling in 10 seconds: who answers the angry ones](https://locaihost.hashnode.dev/1-200-google-play-reviews-of-monzo-revolut-wise-and-starling-in-10-seconds-who-answers-the-angry-ones?utm_source=hashnode&utm_medium=feed)

We pulled the 300 newest UK Google Play reviews of four money apps in one run for under a cent of compute. Starling replied to every 1 and 2-star...

6 min read · [locaihost.hashnode.dev](https://locaihost.hashnode.dev/1-200-google-play-reviews-of-monzo-revolut-wise-and-starling-in-10-seconds-who-answers-the-angry-ones?utm_source=hashnode&utm_medium=feed)

[Ryu Moon](https://hashnode.com/@ryumoondata) · [1h ago](https://hashnode.com/posts/how-to-get-google-trends-data-in-python/6af5a1d33f7be62ae6dfe95f)

### [How to get Google Trends data in Python (interest, regions and rising searches)](https://ryumoondata.hashnode.dev/how-to-get-google-trends-data-in-python?utm_source=hashnode&utm_medium=feed)

Pull Google Trends interest over time, interest by region, related queries and trending searches into Python or JavaScript with apify-client, without fighting 429 errors.

7 min read · [ryumoondata.hashnode.dev](https://ryumoondata.hashnode.dev/how-to-get-google-trends-data-in-python?utm_source=hashnode&utm_medium=feed)
