# python-programming

Published articles for python-programming.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Why Your NumPy Array Changed After Preprocessing (Views vs Copies in ML)

DevFeed: [Why Your NumPy Array Changed After Preprocessing (Views vs Copies in ML)](<https://devfeed.tech/articles/why-your-numpy-array-changed-after-preprocessing-views-vs-copies-in-ml-134163.md>)

Original publisher: [Read original article](<https://hackernoon.com/why-your-numpy-array-changed-after-preprocessing-views-vs-copies-in-ml?source=rss>)

Author: Sohel Alam

Published: 2026-11-14T19:00:02Z

Content type: article

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [scikit-learn](<https://devfeed.tech/topics/scikit-learn.md>)

Tags: [advanced](<https://devfeed.tech/tags/advanced.md>), [arithmetic](<https://devfeed.tech/tags/arithmetic.md>), [array](<https://devfeed.tech/tags/array.md>), [arrays](<https://devfeed.tech/tags/arrays.md>), [base](<https://devfeed.tech/tags/base.md>), [basic](<https://devfeed.tech/tags/basic.md>), [copy](<https://devfeed.tech/tags/copy.md>), [data-leakage](<https://devfeed.tech/tags/data-leakage.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [feature-selection](<https://devfeed.tech/tags/feature-selection.md>), [features](<https://devfeed.tech/tags/features.md>), [hackernoon-top-story](<https://devfeed.tech/tags/hackernoon-top-story.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [memory](<https://devfeed.tech/tags/memory.md>), [ml](<https://devfeed.tech/tags/ml.md>), [numpy](<https://devfeed.tech/tags/numpy.md>), [operations](<https://devfeed.tech/tags/operations.md>), [python](<https://devfeed.tech/tags/python.md>), [python-mutability](<https://devfeed.tech/tags/python-mutability.md>), [python-programming](<https://devfeed.tech/tags/python-programming.md>), [python-references](<https://devfeed.tech/tags/python-references.md>)

### AI overview

NumPy basic slicing creates views that share memory with the source array, so in-place preprocessing such as `-=` can silently change the original dataset. Use `.copy()` before transforming data that must remain intact; copies use more memory. Check sharing with `np.shares_memory()` (the `.base` attribute is not a complete test). Advanced indexing returns a copy, and ordinary arithmetic like `view + 5` creates a new array, unlike in-place updates. The excerpt also distinguishes shared-memory bugs from data leakage: it recommends splitting data first, fitting preprocessing on training data, then applying it to test data. Many scikit-learn transformers return new arrays by default, though some accept `copy=False`.

### Source excerpt

Discover why NumPy arrays change during ML preprocessing. Learn how views, copies, slicing, and in-place operations affect memory and how to prevent unexpected

## Guido van Rossum: The Rise and Fall of Python's Benevolent Dictator

DevFeed: [Guido van Rossum: The Rise and Fall of Python's Benevolent Dictator](<https://devfeed.tech/articles/guido-van-rossum-the-rise-and-fall-of-python-s-benevolent-dictator-118800.md>)

Original publisher: [Read original article](<https://hackernoon.com/guido-van-rossum-the-rise-and-fall-of-pythons-benevolent-dictator?source=rss>)

Author: Bruce Li

Published: 2026-11-05T07:07:52Z

Content type: article

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [pandas](<https://devfeed.tech/topics/pandas.md>)

Tags: [2018](<https://devfeed.tech/tags/2018.md>), [ai](<https://devfeed.tech/tags/ai.md>), [christmas](<https://devfeed.tech/tags/christmas.md>), [developer-burnout](<https://devfeed.tech/tags/developer-burnout.md>), [fall](<https://devfeed.tech/tags/fall.md>), [fight](<https://devfeed.tech/tags/fight.md>), [hackernoon-top-story](<https://devfeed.tech/tags/hackernoon-top-story.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [open-source-governance](<https://devfeed.tech/tags/open-source-governance.md>), [open-source-software](<https://devfeed.tech/tags/open-source-software.md>), [python](<https://devfeed.tech/tags/python.md>), [python-guido-van-rossum](<https://devfeed.tech/tags/python-guido-van-rossum.md>), [python-programming](<https://devfeed.tech/tags/python-programming.md>), [rise](<https://devfeed.tech/tags/rise.md>)

### AI overview

Guido van Rossum began Python as a holiday project in 1989, carrying forward ABC's readable style while making the language work with Unix and C. Its growth brought him into the role of final decision-maker, and the prolonged, personal backlash over his 2018 acceptance of PEP 572's `:=` assignment expression led him to give up that authority. Python's core developers then adopted PEP 13, creating an elected five-person Steering Council with safeguards against employer capture and a mechanism for removal. Van Rossum later returned to engineering work, including Faster CPython; the text credits Python 3.11 with an average speed increase of about 25%. It presents shared governance as enabling contentious changes such as structural pattern matching and an optional GIL to proceed without concentrating the strain on one person.

### Source excerpt

Guido van Rossum wrote Python over a 1989 Christmas break. By 2018 it ran AI and the web, and a fight over the walrus operator (PEP 572) drove him to resign.

## Why Your Python Cache Does the Same Work Twice (P.S: GIL Won't Save You)

DevFeed: [Why Your Python Cache Does the Same Work Twice (P.S: GIL Won't Save You)](<https://devfeed.tech/articles/why-your-python-cache-does-the-same-work-twice-p-s-gil-won-t-save-you-110843.md>)

Original publisher: [Read original article](<https://hackernoon.com/why-your-python-cache-does-the-same-work-twice-ps-gil-wont-save-you?source=rss>)

Author: Sohel Alam

Published: 2026-11-01T15:18:56Z

Content type: tutorial

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [scheduling](<https://devfeed.tech/topics/scheduling.md>), [cache-invalidation](<https://devfeed.tech/topics/cache-invalidation.md>)

Tags: [cache](<https://devfeed.tech/tags/cache.md>), [gil](<https://devfeed.tech/tags/gil.md>), [gotcha](<https://devfeed.tech/tags/gotcha.md>), [hackernoon-top-story](<https://devfeed.tech/tags/hackernoon-top-story.md>), [locks](<https://devfeed.tech/tags/locks.md>), [lru](<https://devfeed.tech/tags/lru.md>), [python](<https://devfeed.tech/tags/python.md>), [python-concurrency](<https://devfeed.tech/tags/python-concurrency.md>), [python-gil](<https://devfeed.tech/tags/python-gil.md>), [python-programming](<https://devfeed.tech/tags/python-programming.md>), [python-threading](<https://devfeed.tech/tags/python-threading.md>), [race-conditions](<https://devfeed.tech/tags/race-conditions.md>), [thread-safety](<https://devfeed.tech/tags/thread-safety.md>)

### AI overview

A cache can return correct values yet run expensive work repeatedly because its check-then-act sequence is not atomic, even on standard CPython with the GIL. A single lock around both steps prevents duplicate computations but makes threads wait even when they request different keys. Per-key locks let different keys proceed independently; recheck the cache after acquiring the key lock. The example's fast path assumes entries are not removed or replaced, its lock map grows with the key set, and thread locks coordinate only within one process. `functools.lru_cache` keeps its internal state consistent but may call the wrapped function more than once during concurrent misses; `cached_property` can also run its getter repeatedly. For side effects, the article recommends idempotency keys and persistent deduplication because in-process locking does not guarantee exactly-once execution. The author tested on CPython 3.12.3 and says they did not test the examples on a free-threaded build.

### Source excerpt

Your Python cache can run the same work twice, even with the GIL. See the check-then-act race, the lru_cache gotcha, and how locks fix it.

## REPL While It Works: Inspect a Running Python Program Without Pausing It

DevFeed: [REPL While It Works: Inspect a Running Python Program Without Pausing It](<https://devfeed.tech/articles/repl-while-it-works-inspect-a-running-python-program-without-pausing-it-106888.md>)

Original publisher: [Read original article](<https://hackernoon.com/repl-while-it-works-inspect-a-running-python-program-without-pausing-it?source=rss>)

Author: David Kra

Published: 2026-10-29T18:12:39Z

Content type: tutorial

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [async](<https://devfeed.tech/topics/async.md>), [IPython](<https://devfeed.tech/topics/ipython.md>), [execution](<https://devfeed.tech/topics/execution.md>)

Tags: [coding](<https://devfeed.tech/tags/coding.md>), [concurrently](<https://devfeed.tech/tags/concurrently.md>), [console](<https://devfeed.tech/tags/console.md>), [debugger](<https://devfeed.tech/tags/debugger.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [execution](<https://devfeed.tech/tags/execution.md>), [python](<https://devfeed.tech/tags/python.md>), [python-developers](<https://devfeed.tech/tags/python-developers.md>), [python-inspection](<https://devfeed.tech/tags/python-inspection.md>), [python-pdb](<https://devfeed.tech/tags/python-pdb.md>), [python-programming](<https://devfeed.tech/tags/python-programming.md>), [repl](<https://devfeed.tech/tags/repl.md>), [threading](<https://devfeed.tech/tags/threading.md>)

### AI overview

The technique runs application work in worker threads while the main thread offers interactive Python access, so you can inspect shared state and call functions such as `analyze()` without pausing the work. The example stores pseudo-global objects as attributes on a function, starts daemon threads, then alternates between PDB (`continue` to leave) and a REPL (`Ctrl-D` to leave). The author used this approach during a multi-hour Gmail IMAP job collecting sender and message-size data across about 100,000 emails, running analysis to see leading senders by total bytes while collection continued. The article frames the method for personal programs whose data and functions are not generally known to others.

### Source excerpt

Use the python REPL or debugger console while a program is running, without interrupting or pausing execution. Exploit threading multitasking.

## One Rogue pip install Away from a Breach

DevFeed: [One Rogue pip install Away from a Breach](<https://devfeed.tech/articles/one-rogue-pip-install-away-from-a-breach-93929.md>)

Original publisher: [Read original article](<https://hackernoon.com/one-rogue-pip-install-away-from-a-breach?source=rss>)

Author: Himashi Meththasena

Published: 2026-10-21T19:52:57Z

Content type: article

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [supply-chain-security](<https://devfeed.tech/topics/supply-chain-security.md>), [pip](<https://devfeed.tech/topics/pip.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [attacks](<https://devfeed.tech/tags/attacks.md>), [audit](<https://devfeed.tech/tags/audit.md>), [automate](<https://devfeed.tech/tags/automate.md>), [automated](<https://devfeed.tech/tags/automated.md>), [automatically](<https://devfeed.tech/tags/automatically.md>), [backend-development](<https://devfeed.tech/tags/backend-development.md>), [breach](<https://devfeed.tech/tags/breach.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [ci-cd-pipeline](<https://devfeed.tech/tags/ci-cd-pipeline.md>), [ci-cd-security](<https://devfeed.tech/tags/ci-cd-security.md>), [cryptographic](<https://devfeed.tech/tags/cryptographic.md>), [cryptographic-verification](<https://devfeed.tech/tags/cryptographic-verification.md>), [cves](<https://devfeed.tech/tags/cves.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [install](<https://devfeed.tech/tags/install.md>), [pip](<https://devfeed.tech/tags/pip.md>), [pip-install](<https://devfeed.tech/tags/pip-install.md>), [python](<https://devfeed.tech/tags/python.md>), [python-programming](<https://devfeed.tech/tags/python-programming.md>), [rogue](<https://devfeed.tech/tags/rogue.md>), [secure-infrastructure](<https://devfeed.tech/tags/secure-infrastructure.md>), [secure-software-development](<https://devfeed.tech/tags/secure-software-development.md>), [software-development](<https://devfeed.tech/tags/software-development.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>), [supply-chain](<https://devfeed.tech/tags/supply-chain.md>)

### AI overview

The excerpt recommends deterministic Python dependency installs to reduce exposure to compromised or altered packages. It contrasts pip-tools, which compiles abstract requirements into a pinned, hash-checked requirements.txt, with Poetry, which manages environments and dependencies through a lockfile covering direct and transitive packages. For production installs, it shows pip --require-hashes rejecting packages whose hashes differ from the locked configuration. It also recommends adding pip-audit or Safety scans to CI/CD; pip-audit checks locked versions against vulnerability databases. These steps address version drift, package integrity, and known vulnerabilities, though the excerpt does not establish that they prevent every supply-chain attack.

### Source excerpt

Stop Using pip Install Blindly: Securing Your Python Supply Chain in 2026

## Demystifying Python Asyncio: When to Use Concurrency vs. Multiprocessing in Production.

DevFeed: [Demystifying Python Asyncio: When to Use Concurrency vs. Multiprocessing in Production.](<https://devfeed.tech/articles/demystifying-python-asyncio-when-to-use-concurrency-vs-multiprocessing-in-production-89720.md>)

Original publisher: [Read original article](<https://hackernoon.com/demystifying-python-asyncio-when-to-use-concurrency-vs-multiprocessing-in-production?source=rss>)

Author: Himashi Meththasena

Published: 2026-10-18T12:09:36Z

Content type: tutorial

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Distributed Systems & Parallel Computing](<https://devfeed.tech/topics/distributed-systems-parallel-computing.md>), [Production Engineering](<https://devfeed.tech/topics/production-engineering.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [asynchronous-performance](<https://devfeed.tech/tags/asynchronous-performance.md>), [asyncio](<https://devfeed.tech/tags/asyncio.md>), [backend-development](<https://devfeed.tech/tags/backend-development.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [contest-tags](<https://devfeed.tech/tags/contest-tags.md>), [fastapi](<https://devfeed.tech/tags/fastapi.md>), [multiprocessing](<https://devfeed.tech/tags/multiprocessing.md>), [multiprocessing-in-programming](<https://devfeed.tech/tags/multiprocessing-in-programming.md>), [performance](<https://devfeed.tech/tags/performance.md>), [python](<https://devfeed.tech/tags/python.md>), [python-programming](<https://devfeed.tech/tags/python-programming.md>), [software-development](<https://devfeed.tech/tags/software-development.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>)

### AI overview

The tutorial explains how to choose between Python asyncio concurrency for I/O-bound work and multiprocessing for CPU-bound work, including the effects of the Global Interpreter Lock and ways to keep blocking tasks from stalling web services.

### Source excerpt

Learn when to use Python asyncio, threading, or multiprocessing to improve API performance, handle I/O efficiently, and scale CPU-intensive workloads.

## Stop Using For-Loops for Everything: Advanced Python Iteration Patterns You Should Know.

DevFeed: [Stop Using For-Loops for Everything: Advanced Python Iteration Patterns You Should Know.](<https://devfeed.tech/articles/stop-using-for-loops-for-everything-advanced-python-iteration-patterns-you-should-know-89729.md>)

Original publisher: [Read original article](<https://hackernoon.com/stop-using-for-loops-for-everything-advanced-python-iteration-patterns-you-should-know?source=rss>)

Author: Himashi Meththasena

Published: 2026-10-18T11:04:48Z

Content type: tutorial

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [iteration](<https://devfeed.tech/topics/iteration.md>), [Python](<https://devfeed.tech/topics/python.md>)

Tags: [code-quality](<https://devfeed.tech/tags/code-quality.md>), [contest-tags](<https://devfeed.tech/tags/contest-tags.md>), [data-processing](<https://devfeed.tech/tags/data-processing.md>), [functional](<https://devfeed.tech/tags/functional.md>), [generator](<https://devfeed.tech/tags/generator.md>), [hackernoon-top-story](<https://devfeed.tech/tags/hackernoon-top-story.md>), [loops](<https://devfeed.tech/tags/loops.md>), [python](<https://devfeed.tech/tags/python.md>), [python-enumerate-and-zip](<https://devfeed.tech/tags/python-enumerate-and-zip.md>), [python-iteration-techniques](<https://devfeed.tech/tags/python-iteration-techniques.md>), [python-itertools-tutorial](<https://devfeed.tech/tags/python-itertools-tutorial.md>), [python-lazy-evaluation](<https://devfeed.tech/tags/python-lazy-evaluation.md>), [python-programming](<https://devfeed.tech/tags/python-programming.md>), [zip](<https://devfeed.tech/tags/zip.md>)

### AI overview

A Python tutorial demonstrates alternatives to manual for-loops, including enumerate and zip, generator expressions, itertools, and functional tools. It explains how these patterns can improve readability and reduce memory use when processing data.

### Source excerpt

Learn how to write cleaner Python with enumerate, zip, generator expressions, itertools, and functional tools for readable, memory-efficient data processing.

## How Shallow and Deep Copies Work in Python

DevFeed: [How Shallow and Deep Copies Work in Python](<https://devfeed.tech/articles/how-shallow-and-deep-copies-work-in-python-85735.md>)

Original publisher: [Read original article](<https://hackernoon.com/how-shallow-and-deep-copies-work-in-python?source=rss>)

Author: Sohel Alam

Published: 2026-10-12T16:55:52Z

Content type: tutorial

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>)

Tags: [bug](<https://devfeed.tech/tags/bug.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [code](<https://devfeed.tech/tags/code.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [deep-copy](<https://devfeed.tech/tags/deep-copy.md>), [mutable-default-arguments](<https://devfeed.tech/tags/mutable-default-arguments.md>), [object-references](<https://devfeed.tech/tags/object-references.md>), [python](<https://devfeed.tech/tags/python.md>), [python-debugging](<https://devfeed.tech/tags/python-debugging.md>), [python-dictionaries](<https://devfeed.tech/tags/python-dictionaries.md>), [python-mutability](<https://devfeed.tech/tags/python-mutability.md>), [python-programming](<https://devfeed.tech/tags/python-programming.md>), [shallow-copy](<https://devfeed.tech/tags/shallow-copy.md>)

### AI overview

This tutorial explains how Python dictionary copies behave when they contain mutable nested objects. A shallow copy duplicates the outer dictionary while sharing references to nested values, so in-place changes can affect both dictionaries. It shows when copy.deepcopy() is useful, why it can cost more memory and time, and how mutable default arguments can cause a similar sharing problem.

### Source excerpt

I copied a Python dictionary, but the original still changed. Here's how shallow copies, shared references, and deep copies actually work.

## Python 3.15 Released With Experimental JIT Compiler Running Faster

DevFeed: [Python 3.15 Released With Experimental JIT Compiler Running Faster](<https://devfeed.tech/articles/python-3-15-released-with-experimental-jit-compiler-running-faster-84238.md>)

Original publisher: [Read original article](<https://www.phoronix.com/news/Python-3.15-Released>)

Author: Michael Larabel

Published: 2026-10-09T14:58:00Z

Content type: news

Language: en

Sources: [Phoronix](<https://devfeed.tech/sources/phoronix.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Numba](<https://devfeed.tech/topics/numba.md>)

Tags: [c](<https://devfeed.tech/tags/c.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [desktop-linux](<https://devfeed.tech/tags/desktop-linux.md>), [faster](<https://devfeed.tech/tags/faster.md>), [interpreter](<https://devfeed.tech/tags/interpreter.md>), [jit](<https://devfeed.tech/tags/jit.md>), [library](<https://devfeed.tech/tags/library.md>), [linux](<https://devfeed.tech/tags/linux.md>), [linux-benchmarking](<https://devfeed.tech/tags/linux-benchmarking.md>), [linux-hardware-benchmarks](<https://devfeed.tech/tags/linux-hardware-benchmarks.md>), [linux-hardware-reviews](<https://devfeed.tech/tags/linux-hardware-reviews.md>), [linux-how-to](<https://devfeed.tech/tags/linux-how-to.md>), [linux-performance](<https://devfeed.tech/tags/linux-performance.md>), [linux-server-benchmarks](<https://devfeed.tech/tags/linux-server-benchmarks.md>), [macos](<https://devfeed.tech/tags/macos.md>), [open-source-graphics](<https://devfeed.tech/tags/open-source-graphics.md>), [phoronix](<https://devfeed.tech/tags/phoronix.md>), [phoronix-test-suite](<https://devfeed.tech/tags/phoronix-test-suite.md>), [programming](<https://devfeed.tech/tags/programming.md>), [programming-language](<https://devfeed.tech/tags/programming-language.md>), [python-3-15](<https://devfeed.tech/tags/python-3-15.md>), [python-programming](<https://devfeed.tech/tags/python-programming.md>), [release](<https://devfeed.tech/tags/release.md>), [standard-library](<https://devfeed.tech/tags/standard-library.md>), [ubuntu-benchmarks](<https://devfeed.tech/tags/ubuntu-benchmarks.md>), [ubuntu-hardware](<https://devfeed.tech/tags/ubuntu-hardware.md>), [x86](<https://devfeed.tech/tags/x86.md>), [x86-64](<https://devfeed.tech/tags/x86-64.md>)

### AI overview

Python 3.15 is described as introducing an experimental JIT compiler that is faster than the standard interpreter in cited benchmarks. The release also adds language and standard library changes, C API improvements, and default frame pointers for observability.

### Source excerpt

Python 3.15 is out today as the newest annual feature release for the Python programming language...

## 11 Beginner Tips for Learning Python Programming

DevFeed: [11 Beginner Tips for Learning Python Programming](<https://devfeed.tech/articles/11-beginner-tips-for-learning-python-programming-64339.md>)

Original publisher: [Read original article](<https://realpython.com/python-beginner-tips/>)

Author: Krishelle Hardson-Hurley

Published: 2026-10-03T14:00:00Z

Content type: tutorial

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [learn programming](<https://devfeed.tech/topics/learn-programming.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>)

Tags: [beginners](<https://devfeed.tech/tags/beginners.md>), [code](<https://devfeed.tech/tags/code.md>), [programming](<https://devfeed.tech/tags/programming.md>), [python](<https://devfeed.tech/tags/python.md>), [python-programming](<https://devfeed.tech/tags/python-programming.md>), [tips](<https://devfeed.tech/tags/tips.md>)

### AI overview

This tutorial offers beginners practical strategies for learning Python: code regularly, take notes and breaks, use the interactive shell and debugger, collaborate through pair programming, ask clear questions, build projects, and contribute to open-source software.

### Source excerpt

Python tips for beginners: the learning strategies and habits that take you from your first script to code you're proud of.

## Quiz: The Beginner's Guide to Python Turtle

DevFeed: [Quiz: The Beginner's Guide to Python Turtle](<https://devfeed.tech/articles/quiz-the-beginner-s-guide-to-python-turtle-63815.md>)

Original publisher: [Read original article](<https://realpython.com/quizzes/beginners-guide-python-turtle/>)

Author: Real Python

Published: 2026-10-02T12:00:00Z

Content type: tutorial

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>)

Tags: [guide](<https://devfeed.tech/tags/guide.md>), [loops](<https://devfeed.tech/tags/loops.md>), [programming](<https://devfeed.tech/tags/programming.md>), [python](<https://devfeed.tech/tags/python.md>), [python-programming](<https://devfeed.tech/tags/python-programming.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

An interactive 10-question quiz for beginners to review Python's turtle library, including moving and turning the turtle, drawing and filling shapes, setting colors, and using loops and conditionals.

### Source excerpt

Practice the Python turtle library: move the pen, draw and fill shapes, set colors, and repeat moves with loops. Check what you know in 10 questions.

## Clean Architecture in Python: Building Maintainable APIs Without the Overkill

DevFeed: [Clean Architecture in Python: Building Maintainable APIs Without the Overkill](<https://devfeed.tech/articles/clean-architecture-in-python-building-maintainable-apis-without-the-overkill-60581.md>)

Original publisher: [Read original article](<https://hackernoon.com/clean-architecture-in-python-building-maintainable-apis-without-the-overkill?source=rss>)

Author: Himashi Meththasena

Published: 2026-09-27T11:24:14Z

Content type: tutorial

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [clean-architecture](<https://devfeed.tech/topics/clean-architecture.md>), [Django](<https://devfeed.tech/topics/django.md>), [FastAPI](<https://devfeed.tech/topics/fastapi.md>)

Tags: [apis](<https://devfeed.tech/tags/apis.md>), [build](<https://devfeed.tech/tags/build.md>), [clean-architecture](<https://devfeed.tech/tags/clean-architecture.md>), [fastapi-clean-architecture](<https://devfeed.tech/tags/fastapi-clean-architecture.md>), [hackernoon-top-story](<https://devfeed.tech/tags/hackernoon-top-story.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [layers](<https://devfeed.tech/tags/layers.md>), [python](<https://devfeed.tech/tags/python.md>), [python-api-architecture](<https://devfeed.tech/tags/python-api-architecture.md>), [python-backend-architecture](<https://devfeed.tech/tags/python-backend-architecture.md>), [python-clean-architecture](<https://devfeed.tech/tags/python-clean-architecture.md>), [python-dependency-inversion](<https://devfeed.tech/tags/python-dependency-inversion.md>), [python-programming](<https://devfeed.tech/tags/python-programming.md>), [python-repository-pattern](<https://devfeed.tech/tags/python-repository-pattern.md>)

### AI overview

A practical tutorial on applying Clean Architecture in Python to build maintainable APIs without excessive abstraction. It describes separating domain entities and use cases from framework and database details, using dependency inversion and lightweight layers.

### Source excerpt

Learn how to apply Clean Architecture in Python without overengineering, using domain entities, use cases, Protocols, and lightweight infrastructure layers.

## The End of the Semicolon Era

DevFeed: [The End of the Semicolon Era](<https://devfeed.tech/articles/the-end-of-the-semicolon-era-26029.md>)

Original publisher: [Read original article](<https://elizarov.medium.com/the-end-of-the-semicolon-era-60ab95e669ab?source=rss-4762e889f8fc------2>)

Author: Roman Elizarov

Published: 2020-02-09T11:33:53Z

Content type: opinion

Language: en

Sources: [Roman Elizarov](<https://devfeed.tech/sources/stories-by-roman-elizarov-on-medium.md>)

Topics: [Programming](<https://devfeed.tech/topics/programming.md>), [Scala](<https://devfeed.tech/topics/scala.md>), [Python](<https://devfeed.tech/topics/python.md>), [typesafety](<https://devfeed.tech/topics/typesafety.md>)

Tags: [c-c-plus-plus](<https://devfeed.tech/tags/c-c-plus-plus.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [dry](<https://devfeed.tech/tags/dry.md>), [go](<https://devfeed.tech/tags/go.md>), [inference](<https://devfeed.tech/tags/inference.md>), [java](<https://devfeed.tech/tags/java.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [language](<https://devfeed.tech/tags/language.md>), [modern](<https://devfeed.tech/tags/modern.md>), [object](<https://devfeed.tech/tags/object.md>), [programming](<https://devfeed.tech/tags/programming.md>), [programming-language](<https://devfeed.tech/tags/programming-language.md>), [python](<https://devfeed.tech/tags/python.md>), [python-programming](<https://devfeed.tech/tags/python-programming.md>), [scala](<https://devfeed.tech/tags/scala.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [swift](<https://devfeed.tech/tags/swift.md>), [type-safety](<https://devfeed.tech/tags/type-safety.md>)

### AI overview

The author argues that dropping mandatory semicolons has become part of the feel of modern programming languages. Scala, Go, Kotlin, and Swift retain curly-brace syntax and static typing while omitting required semicolons. The excerpt places this trend alongside Python's concise, indentation-sensitive syntax and the difficulty of moving from Python to more verbose Java or C#. It suggests that type inference helps languages reduce visual repetition while retaining type safety and scalability, reflecting a preference to omit details when both compiler and programmer can infer them. The excerpt ends while developing this argument.

### Source excerpt

DeadEnd by Austin Mulhern Throughout most of my early professional career, I programmed in languages where you terminate or separate statements with a semicolon; it was like an ideograph distinguishing coders from laypeople. I had a motor reflex to type a semicolon (;) without having to think about it. So when I got involved in the early discussions about the new language that JetBrains was working on back in 2010, the language that would be later called Kotlin, I was not thrilled about the proposal to drop the mandatory semicolons. Who minds the semicolons I thought. I had quite a strong opinion about the need to solve the billion-dollar problem with nulls¹ to make our software safer, but the visuals I cared less about. How narrowminded I was! As it turns out, the disappearance of the semicolon has become the distinguishing characteristic of the rising modern languages of the late 2000s and 2010s to such an extent that it almost becomes synonymous with the very feeling of programming in the "modern language". Scala (2004), Go (2009), Kotlin (2011), and Swift (2014) are all statically typed, all follow C/C++/Java syntactic tradition with curly braces, all were introduced and grew big in the last 20 years and all had totally ditched the mandatory semicolon despite the tradition. Is it a coincidence? I don't think so. I see a trend here. The ground zero Let's take a look at the elephant in the room -- Python programming language (1990). While it is not exactly "modern", it has enjoyed a meteoric rise in popularity only recently. It became the most popular programming language by some forward-looking metrics like PYPL² and is consistently placed into the top three. Syntactically Python is a thing in itself. It is a rare breed of fully indentation-sensitive language (aka off-side rule³) that is not some kind of an academic or a toy language. The clean and concise looks of Python code are quite appealing. Switching from something as lean as Python (unless you try object-o