python

Back Open Paginator
18.09.2025 22:45
treyhunner (@treyhunner@mastodon.social)

In fancy Computer Science terminology, functions that accept other functions as arguments or return a functions are often called "higher order functions".

Read more 👉 trey.io/4u4pj0




Show Original Post


18.09.2025 22:25
tobide (@tobide@fosstodon.org)

Last weekend I built a small CLI script manager for myself.
I had been using atuin scripts for a few weeks now, but it became annoying to deal with.
The main pain points I solved here:

- I can use argparse to read parameters — no need to write Jinja.
- I get syntax highlighting since scripts have a proper file extension.
- I control the script source location.

asciinema.org/a/741635

github.com/Tobi-De/taku

#python #uv #cli #scripts




Show Original Post


18.09.2025 22:21
r (@r@bsky.brid.gy)

github.com/passagemath/... #Python #SageMath

README.md: Set EOL for passage...




Show Original Post


18.09.2025 22:11
anubhav (@anubhav@hachyderm.io)

How does one check if a (#Python) program is running in a #X11 session on #RockyLinux v8.10 & #FreeBSD v14.3?

Annoying IDL software, when not run in a X11 session, just sits indefinitely not using any CPU while occupying memory. I would have preferred for that to just not run or else crash. That command is started (eventually) from the software that I have control over.




Show Original Post


18.09.2025 22:02
pac (@pac@mastodon.social)

. @inria recrute un développeur pour contribuer à , un logiciel libre développé par la MAIF pour rendre l'apprentissage automatique explicable.

👉 recrutement.inria.fr/public/cl

Pour en savoir plus sur : maif.github.io/shapash/




Show Original Post


18.09.2025 22:02
habr (@habr@zhub.link)

Как написать простейшую нейросеть на python, простыми словами о сложном

В мире Data Science написание нейронных сетей, кажется чем-то очень трудоёмким, доступным для понимания лишь математикам с многолетним опытом. Многие руководства, начинаются со сложных объяснений backpropagation, градиентного спуска и т.п, от которых у новичков складывается впечатление, что написание нейросетей – им не по силам. В данной статье, я хочу развеять подобные убеждения и показать пример, написания простейшей нейронной сети на python. Мы не будем углубляться в теоретические основы высшей математики. Вместо этого, мы просто возьмем данные, напишем код, посмотрим на результат и проанализируем его.

habr.com/ru/companies/bothub/a

#нейросеть #нейросети_python #python #нейронная_сеть #нейронная_сеть_с_нуля




Show Original Post


18.09.2025 21:59
treyhunner (@treyhunner@mastodon.social)

Hey! This week's office hour session will probably be PRETTY SMALL.

My office hours start in 3 hours (11pm UTC) and every other week alternate times (4pm UTC is next week).

The later one has been a very small group lately. Please join and keep me company with interesting Python-adjacent questions/discussion.

See you in 3 hours!

pym.dev/office-hours/schedule/




Show Original Post


18.09.2025 21:38
notes (@notes@852260996.91268476.xyz)

I've never seen the walrus operator being used in the wild in any #Python code I've read.




Show Original Post


18.09.2025 21:19
Spyder (@Spyder@fosstodon.org)

We’re always looking for new ways to improve our beloved Variable Explorer 🧐

Our next version will capture and nicely show any error message generated when you’re trying to view a variable through it 😎

Check it out!

#Spyder #Python #IDE





Show Original Post


18.09.2025 21:13
ax6761 (@ax6761@freeradical.zone)

Obfuscating "Hello world!", updated 20171101,
by Ben K,
benkurtovic.com/2014/06/01/obf

... via ...

mastodon.social/@driscollis/11

#Python #obfuscatedCode




Show Original Post


18.09.2025 20:59
r (@r@bsky.brid.gy)

Curated #SageMath user packages in passagemath as of passagemath-10.6.24: #Python #FOSS

RE: https://bsky.app/profile/did:plc:htd5nd5zj62hey7e7lm3a6ky/post/3lxg6c4ye622r





Show Original Post


18.09.2025 20:52
chrisjrn (@chrisjrn@social.coop)

Do you have ways the PSF can solicit donations and you're wondering who to tell?

Me. I will gladly accept new and innovative (and ideally ethical) ways for us to convince you to donate. Some of them, like wandering.shop/@phildini/11522, I will even pass on! #Python




Show Original Post


1 ...1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 ...1554
UP