#Python

2026-02-07

So wird der Raspberry Pi Pico zum mp3-Player mit entspannendem Meeresrauschen

tube.tchncs.de/w/dRdArqJsRSmAF

PyTexas Foundationpytexas@fosstodon.org
2026-02-07

The next "Guess Who" speaker revealed for our 20th anniversary! 🎉

Meet this #SoftwareArchitect at #PyTexasConference2026 & learn from @ProsperousHeart on how to make interactive #python environments in your browser 👀

Grab your ticket TODAY: pytexas.org/2026 💛

Alexandre B A Villares 🐍villares@ciberlandia.pt
2026-02-07
Screenshot from a diff of the README.md file on my GitHub profile:

![animação Hello World](hello.gif)
> This animation is made with points in a Python collections.deque data structure, added by dragging the mouse (code shown bellow)
[Removed line]  I'm currently working on a PhD at Unicamp.
[Removed line]  I should be talking less and concentrating, but...
[Added line] I have just finished a PhD at Unicamp by the end of 2025.
[Added line] I have very little idea of what I'm going to do now...
-  Ask me about drawing with Python! 
    - Check out [py5](https://py5coding.org) and [pyp5js](berinhard.github.io/pyp5js/pyodide/), they bring in the vocabulary from Processing & P5js!
    - I try to make a new drawing with code everyday, and I put the results at  [skech-a-day](https://abav.lugaralgum.com/sketch-a-day).
Hugo van Kemenadehugovk
2026-02-07

Handy thing I just spotted coming to Python 3.15:

"The -W option and the PYTHONWARNINGS environment variable can now specify regular expressions instead of literal strings to match the warning message and the module name, if the corresponding field starts and ends with a forward slash (/).

"(Contributed by Serhiy Storchaka in gh-134716.)"

docs.python.org/3.15/whatsnew/

github.com/python/cpython/issu

Jeff MacKinnonJeff@bluenoser.me
2026-02-07

I need some help packaging a python module that I built. It references a few different python files, and .csv within the folder structure, and searching leads me to examples/tutorials that are either too simple, or way too complex. I can't find anything bridging the gap.

Any blogs, courses, tutorial, or even as a last resort youtube videos, that may help me out? #python #packaging #flit #setuptools #hatchling

The project that I'm trying to package is here - git.jmkengineering.com/JMK_Eng

Reuven M. LernerReuven@fosstodon.org
2026-02-07

Tired of super-long #Python #Pandas backtraces in Jupyter or IPython? Use the %xmode magic method:

%xmode Minimal

Now you just see the error, not 50 lines of library internals.

You can also set it to Plain, Context, or Verbose.

2026-02-07

Does anyone in my Django world use Scalingo for hosting? I hadn't heard of it until today, but they've been around for over a decade!

It seems like every time Heroku comes closer to actually closing its doors, we learn about new hosting options.

#Python #Django

scalingo.com

Soft & Appssoft_apps
2026-02-07

PictoBlox mezcla bloques y para llevar tu programación creativa a otro nivel: modelos de , proyectos XR (AR/VR) y en un mismo entorno 🤖✨

Ideal para aprender creando.

➡️ softandapps.info/2026/02/07/pr

Borutzkiborutzki
2026-02-07

Have you ever seen the typing.overload decorator in the wild and wondered what it's actually for?

I wrote a short blog post explaining the problem it solves and how to use it in practice. 🐍

borutzki.github.io/2026/02/07/

Code snippet:
@overload
def generate_config(context: dict, action: Literal[Action.ADD, Action.MODIFY]) -> dict: ...
@overload
def generate_config(context: dict, action: Literal[Action.DELETE]) -> list[str]: ...
def generate_config(context: dict, action: Action) -> dict | list[str]:
    config = build_from_context(context, DEFAULT_TEMPLATE)
    if action == Action.DELETE:
        return build_list_of_xpaths(config)  # <- returns list[str]

    return config  # <- returns dict
2026-02-07

PHP dev learning Python ? 🐘🐍
What is the most confusing part for you?

Here is an article about most common gotchas

#PHP #Python

fromphptopython.com/blog/commo

Alessandro Molina_amol_@fosstodon.org
2026-02-07

I finally was able to release DukPy 0.5.1 which introduced support for Python 3.13 and Python 3.14

github.com/amol-/dukpy

A few new people have started using DukPy for their projects and support for recent Python was the most frequent complain I was receiving 😅

Even more surprisingly, I started migrating the Javascript engine to a more modern one with ES5 and ES6 support, which is something I wanted to do for more than a year but never had the time to get to

#python #javascript #foss

2026-02-07

Git-хуки, которые не дают коммитить плохой код

Здравствуйте, коллеги программисты! Большинство фейлов в CI — это мелочи: забытый console.log , форматирование, линт, сломанный импорт, файл без теста. Такие ошибки не должны доезжать до сборки или код-ревью. Git-хуки позволяют запускать проверки прямо во время git commit и блокировать коммит, если были обнаружены нарушения. В прошлой статье я рассказывал про скрипты, которые я использую для проверки качества кода в PHP/Laravel. В этой статье я хочу рассказать о скриптах для JavaScript/TypeScript и Python — линтинг, форматирование, тесты, статический анализ и проверка наличия тестов. Все скрипты описанные в статье находятся здесь - github.com/prog-time/git-hooks

habr.com/ru/articles/993870/

#линтер #git_hooks #javascript #python #eslint #prettier #tsc #vitest #mypy #pytest

Ned Batcheldernedbat@hachyderm.io
2026-02-07

Is there a way with #Python types to accept an Iterable, but only ones that won't be consumed by iteration? So set, list, dict are fine, but generators and files are not? I suspect not.

2026-02-07

Crypto Orderbook или Биржевой стакан на криптобирже: взгляд изнутри, часть 1

Как устроены биржи? Откуда берется рыночная цена и чем лимитный ордер отличается от рыночного? Что такое стакан, спред, bid и offer? Разберемся на Python

habr.com/ru/articles/993864/

#Рынок #криптовалюта #биржа #ордер #python

2026-02-07

Does the Python REPL have any features that require a full terminal emulator (like emacs's vterm)? And that emacs's inferior-python-mode (comint-mode I think) won't work for?

#python #emacs

2026-02-07

Suite à une discussion sur Mastodon, @ehmatthes a publié cet article expliquant le vocabulaire pour décrire les différents composants d'une fonction / méthode Python : mostlypython.com/anatomy-of-a-

Éléments évoqués : nom, signature, déclaration, corps, en-tête. Prêt·e pour le quiz lors de notre prochaine session ?

La discussion sur Mastodon : fosstodon.org/@ehmatthes/11600

#Python #code #tutoriel

La Experimental Newslatterlaexperimental
2026-02-07

Ya esta disponible La Experimental #20:

🔧 Reproductor de música en local
💻 TUI para agentes IA
📚 Algoritmos y formatos binarios
💾 TUI de gestión de Redis
🤖 Colección de Skills para agentes IA
🐧 Gestor de tareas
🌩️ Servicio bookmark selfhosted
🎮 Juego de construcción de ciudades isométrico

Link: open.substack.com/pub/laexperi

2026-02-07

Как Python управляет памятью под капотом

В Python разработчик редко задумывается об освобождении памяти. Объекты создаются, используются и будто бы исчезают сами. Это создает ощущение, что памятью «занимается Python», и на этом можно не фокусироваться. На практике понимание того, как именно работает сборка мусора, помогает писать более стабильный, предсказуемый и эффективный код.

habr.com/ru/articles/993856/

#python #память #подсчёт_ссылок #garbage_collector

Rost Glukhovros@techhub.social
2026-02-07

Compare Playwright, Selenium, Puppeteer, LambdaTest, ZenRows, and Gauge for browser automation and testing in Python. When to use each and setup.

#Python #DevOps #API #JavaScript #Node.js #Open Source #Cheatsheet #Dev

glukhov.org/post/2026/02/playw

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst