python

Back Open Paginator
21.08.2025 03:58
krishean (@krishean@tech.lgbt)

still find it funny that i used subprocess.Popen in python to basically turn it into a fancy bash script with proper array and hashmap support, rather than using 3rd party modules

#python #programming




Show Original Post


21.08.2025 02:57
jackwilliambell (@jackwilliambell@rustedneuron.com)

Today I implemented the simplest and most brain-dead event observer/emitter implementation possible, which still includes the ability for observers to subscribe/unsubscribe and for the emitter to execute a named event function
on the observer *if it exists*.

It doesn't require your objects to inherit *anything*, so any object can be an observer and adding emitter functionality to an object is only a few lines.

Here's a gist:

> codeberg.org/jackwilliambell/g

#programming #Python #SoftwarePatterns




Show Original Post


21.08.2025 02:51
kiwipycon (@kiwipycon@mastodon.social)

🚨 CFP closing in <12 hrs (anywhere on earth)! 🚨
Kiwi PyCon 2025 wants your talk.
Don’t wait fam — make your move now 💛

👉 talks.kiwipycon.nz/kiwi-pycon-




Show Original Post


21.08.2025 02:18
GripNews (@GripNews@mastodon.social)

🌖 PlutoPrint:Python HTML 轉 PDF/圖像輕量級函式庫
➤ 從 HTML 擁抱高品質 PDF 與影像輸出的 Python 解決方案
github.com/plutoprint/plutopri
PlutoPrint 是一個基於 PlutoBook 的 Python 函式庫,旨在輕鬆高效地將 HTML 或 XML 內容轉換為高質量的 PDF 和圖像檔案。它提供簡潔的 API,支援從命令列或 Python 程式碼進行操作,並可嵌入 Matplotlib 繪製的圖表。
+ 這個函式庫看起來很有用,對於需要自動化報告或文件生成的專案來說,是一個不錯的選擇。
+ 能夠直接在 HTML 中嵌入 Matplotlib 圖表,這個功能非常吸引人,省去了不少中間步驟。
to PDF Generator to Image




Show Original Post


21.08.2025 02:00
ACCUConf (@ACCUConf@mastodon.social)

youtu.be/wKZio_KAMQ0




Show Original Post


21.08.2025 01:49
villares (@villares@pynews.com.br)

Code at: github.com/villares/sketch-a-d
More sketch-a-day: abav.lugaralgum.com/sketch-a-d
If you like this, support my work:
paypal.com/donate/?hosted_butt
liberapay.com/Villares
wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding #trimesh #shapely





Show Original Post


21.08.2025 01:32
treyhunner (@treyhunner@mastodon.social)

My office hours are starting in 23.5 hours.

See you tomorrow!

pym.dev/office-hours/schedule




Show Original Post


21.08.2025 01:30
pyconau (@pyconau@mastodon.pycon.org.au)

🎫 Snag your TICKET today to lock in the best price before late bird kicks in!
Get ready for a weekend full of Python talks, community fun, and inspiration.

👉 2025.pycon.org.au/attend?ref=fv

#PyConAU #Python #Data #AI #Science #Education





Show Original Post


21.08.2025 00:50
hn50 (@hn50@social.lansky.name)

Show HN: PlutoPrint – Generate PDFs and PNGs from HTML with Python

Link: github.com/plutoprint/plutopri
Discussion: news.ycombinator.com/item?id=4

#python #html




Show Original Post


21.08.2025 00:34
tuban_muzuru (@tuban_muzuru@ohai.social)

#rust #python

"Rust usage for Python extensions surged 22% in one year as developers choose memory safety and C-level performance over traditional approaches. "

thenewstack.io/rust-pythons-ne




Show Original Post


20.08.2025 23:42
rod2ik (@rod2ik@mastodon.social)

7 Surprisingly Useful You’ll Use Every Week

kdnuggets.com/7-surprisingly-u




Show Original Post


20.08.2025 23:42
r (@r@fed.brid.gy)

7 Surprisingly Useful #Python #Scripts You’ll Use Every Week www.kdnuggets.com/7-surprising...

7 Surprisingly Useful Python S...




Show Original Post


1 ...1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 ...1547
UP