python

Back Open Paginator
21.03.2026 17:30
Reuven (@Reuven@fosstodon.org)

Want to check whether a #Python #Pandas string series only contains digits? Use str.isdigit:

df['x'].str.isdigit()

This returns a boolean series, with df's index. You can then convert the digit-containing strings to integers:

df.loc[pd.col('x').str.isdigit(), 'x'].astype(int)





Show Original Post


21.03.2026 17:28
cottonmouth (@cottonmouth@mamot.fr)

Kontiki, a microservices framework in Python.
github.com/kontiki-org/kontiki

#python #kontiki #amqp #rabbitmq #flask #fastapi #microservices




Show Original Post


21.03.2026 17:23
TheSilentHolographer (@TheSilentHolographer@techhub.social)

An impromptu opencv project, where I'm specifically looking for lowest-effort environment setup

#python : pip can't get meson to wrangle clang for numpy, but it's not pip's fault, fukyou

#rust : llvm-config can't find libclang, fukyou

#dotnet : did you mean OpenCvSharp, or OpenCvSharp4?




Show Original Post


21.03.2026 17:09
treyhunner (@treyhunner@mastodon.social)

“Writing Python code does not require writing classes.”

Read more 👉 pym.dev/when-are-classes-used/




Show Original Post


21.03.2026 17:01
PythonPeak (@PythonPeak@mastodon.social)

Count Words in String via 2 Methods

Count Words in String via 2 Methods This content explores interesting aspects of this topic. The information provided offers valuable insights and perspectives. Understanding this reveals how everyday things are more thoughtful than they appear. Next time you'll notice this detail. This fascinating detail shows how much thought goes into things we take for granted.

...

youtube.com/watch?v=iY9Nttetkfc




Show Original Post


21.03.2026 16:32
habr (@habr@zhub.link)

Вспоминает что такое CRUD на примере десктопного менеджера на Python

Многие новички, которые только начинают свою карьеру в программировании, не совсем понимают что такое CRUD. CRUD (Create, Read, Update, Delete) - термин, исходя из обычного перевода (Создавать, читать, обновлять, удалять), обозначает четыре базовые операции для управления данными в системах. Я хочу, попытаться, объяснить на простом примере что же это такое и как с ним можно работать. Сегодня мы напишем классический десктопный менеджер задач с графическим интерфейсом. Это отличный способ изучить и закрепить:

habr.com/ru/articles/1013114/

#Python #Tkinter #десктопное_приложение #менеджер_задач #CRUD #JSON #GUI #программирование_для_начинающих #создание_приложений




Show Original Post


21.03.2026 16:28
xahteiwi (@xahteiwi@mastodon.social)

Have any of you taken a course (beginner/intermediate level) on edx.org that you'd like to recommend?

(I am not looking for myself, and for the purposes of this discussion I am not looking for recommendations on other platforms. This is purely about learning Python specifically on , not about learning Python in general.)

Boosts for reach appreciated!

edx.org/learn/python




Show Original Post


21.03.2026 16:00
ngate (@ngate@mastodon.social)

🚀 Oh, behold the tale of Ironkernel: where #Python dons a Rusty suit and claims to unlock the mystical powers of parallel processing. 🤖 GitHub's latest offering promises to make your CPU cores work overtime, while you contemplate the deep existential question: "Will #AI ever replace my need to understand this sorcery?" 🧙‍♂️✨
github.com/YuminosukeSato/iron #Ironkernel #Rust #ParallelProcessing #GitHub #HackerNews #ngated




Show Original Post


21.03.2026 16:00
h4ckernews (@h4ckernews@mastodon.social)

How HN: Ironkernel – Python expressions, Rust parallel

github.com/YuminosukeSato/iron

#HackerNews #HackerNews #Ironkernel #Python #Rust #Parallel #Programming




Show Original Post


21.03.2026 15:26
CuratedHackerNews (@CuratedHackerNews@mastodon.social)

How HN: Ironkernel – Python expressions, Rust parallel

github.com/YuminosukeSato/iron




Show Original Post


21.03.2026 14:56
bterwijn (@bterwijn@fosstodon.org)

An exercise to help build the right mental model for Python data.
- Solution: memory-graph.com/#codeurl=http
- Explanation: github.com/bterwijn/memory_gra

The “Solution” link uses 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵 to visualize execution and reveals what’s actually happening.

#Python #programming #memory_graph





Show Original Post


21.03.2026 14:47
dzwiedziu (@dzwiedziu@mastodon.social)

`jsondiff-jdiff` when run from a Makefile, even trough a wrapper somehow can't find the second file.

Running it or the wrapper manually is without problems.

Can I for once not find an edge case?




Show Original Post


1 ...283 284 285 286 287 288 289 290 291 292 293 ...1596
UP