python

Back Open Paginator
20.10.2025 10:09
orsinium (@orsinium@fosstodon.org)

@RosaCtrl

Tim Peters introduced doctest in #Python in 2001, that might be the oldest one:
github.com/python/cpython/blob

Nowadays, Elixir, Rust, Zig, and Scala, to name a few, also have doctests.

#Golang is an interesting one: it has example tests, which are written in a separate function like regular tests but then included in the compiled HTML documentation:
pkg.go.dev/testing#hdr-Examples




Show Original Post


20.10.2025 09:58
jasalt (@jasalt@fosstodon.org)

#Emacs freezing for 10 seconds with Pyright #Python LSP in #Django project when saving file like this.

Not sure what excess analysis it's doing but turning Pyright off (basedpyright to be exact) and going with ruff only for now.





Show Original Post


20.10.2025 09:10
askubuntu (@askubuntu@ubuntu.social)

How can I generate a full screen semi transparent window in Ubuntu? #python #2404 #gtk #wayland #window

askubuntu.com/q/1557564/612




Show Original Post


20.10.2025 09:05
lcheylus (@lcheylus@bsd.network)

Ruff (an extremely fast Python linter and code formatter, written in Rust) imported in OpenBSD official ports tree, initial version 0.14.1 #OpenBSD #Python github.com/openbsd/ports/tree/




Show Original Post


20.10.2025 08:51
brodriguesco (@brodriguesco@fosstodon.org)

This is an example of how Nix can be useful for data analysis: a project that uses #Julia #Python and #RStats in which #Nix is used to set up the dev env in a reproducible way, and is also used as build automation tool to orchestrate the codebase b-rodrigues.github.io/rixpress




Show Original Post


20.10.2025 08:25
ubernostrum (@ubernostrum@infosec.exchange)

New #Python package release: akismet 25.10.0.

Highlights include:

* Python 3.14 compatibility
* A new pytest plugin to make it easier to test your use of the Akismet clients.

b-list.org/projects/akismet/




Show Original Post


20.10.2025 05:44
transportationtalk (@transportationtalk@fosstodon.org)

I am giving 2 talks abt making your data analysis outputs into polished products with the power of #RStats and #Python pkgs + my pkg {brandthis}.
Talk 1: DevFest 2025. Register here: wedevfest.com/
Talk 2: R+AI 2025 organized by R Consortium. Register here: rconsortium.github.io/RplusAI_





Show Original Post


20.10.2025 04:31
pythonjobsupport (@pythonjobsupport@mastodon.social)

SQL or Python Which One To Learn First??  

To Join My Skill-To-Job Transition Program related to Data Analytics, Data Science, AI, Generative AI and Data Engineering: ... source

quadexcel.com/wp/sql-or-python




Show Original Post


20.10.2025 03:43
haitchfive (@haitchfive@oldbytes.space)

foss work recap, the last 12 months

Almost all Go or Z80 assembler, save for a few support tools in python, ruby, etc. and some C prototypes

unix / terminal stuff

cs / ds

ual

web stuff

Spectrum stuff

and more

#golang #python #foss




Show Original Post


20.10.2025 03:28
explorills (@explorills@mastodon.social)

⚡ 4-hour sprint: rebuilt our Discord AI from scratch

Tech stack:
- gpt-5-nano (temp 0.9 for creativity)
- Async debounce system
- 3-layer response filtering
- Per-user context (10k lines)
- Proactive engagement loop

Result: Bot that actually vibes with the community instead of sounding like a corporate FAQ 🤖→😎 Feels human - casual, unpredictable, and actually helpful. 🥲

Open to questions about the architecture!

Try it: discord.gg/DMSSuPPrTV




Show Original Post


20.10.2025 02:40
lobsters (@lobsters@mastodon.social)

Three times faster with lazy imports lobste.rs/s/fv1hvp
hugovk.dev/blog/2025/lazy-impo




Show Original Post


20.10.2025 02:27
villares (@villares@pynews.com.br)

#magma #shapely 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





Show Original Post


1 ...1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 ...1562
UP