python

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

Using many names from a #Python module? Import them all:

from MODNAME import *

Wait: This is usually a TERRIBLE idea!

• Potential namespace collisions
• Less readable code
• Module upgrades affect globals in your program

I know, it's tempting — but don't!





Show Original Post


07.03.2026 17:26
rzeta0 (@rzeta0@mathstodon.xyz)

Algorithmic Art tutorials...

youtube.com/@AlgorithmicArt/vi

There's a beginners course playlist which follows this course

amazon.com/dp/B085RNLGKQ/

#algorithmicart #creativecoding #generative #p5js #python #learntocode





Show Original Post


07.03.2026 17:00
PythonPeak (@PythonPeak@mastodon.social)

How to Make Hashes Stable for Cache Keys

hash changes every run and breaks cache keys.

#python #hash #cachekey #howto #stability #security

youtube.com/watch?v=A5npV1rFpqQ




Show Original Post


07.03.2026 16:31
veit (@veit@mastodon.social)

@zopyx Claude provided the concrete construction (Exploration 31) in the form of a program, see also cs.stanford.edu/~knuth/even solution.py




Show Original Post


07.03.2026 16:02
smach (@smach@masto.machlis.com)

I've been at a few #NICAR26 Python AI sessions but haven't heard this package mentioned: chatlas from Posit (formerly RStudio) which lets you use LLMs from various providers. Might be of interest to some?
posit.co/blog/announcing-chatl
#GenAI #Python




Show Original Post


07.03.2026 15:42
rod2ik (@rod2ik@mastodon.social)

- Du au lieu du d' pour gérer vos

Jusqu'à 10x plus rapide qu' sur déploiements massifs

korben.info/pyinfra-automatisa




Show Original Post


07.03.2026 15:42
r (@r@fed.brid.gy)

#pyinfra - Du #Python au lieu du #YAML d' #Ansible pour gérer vos #serveurs Jusqu'à 10x plus rapide qu' #Ansible sur déploiements massifs korben.info/pyinfra-auto...

pyinfra - Du Python au lieu du...




Show Original Post


07.03.2026 14:57
r (@r@fed.brid.gy)

Loving @richardfontana.bsky.social@bsky.brid.gy's take on the assigning machine-produced text output to humans in the recent #Python library drama: github.com/chardet/char.... Copyright's defined as direct human edits, after all.. 🍿🍿🍿 ctx: simonwillison.net/2026/Mar/5/c... / github.com/chardet/char...





Show Original Post


07.03.2026 14:12
habr (@habr@zhub.link)

« DeepSeek, сделай мне робота!»: техническая исповедь, карта минного поля и полные файлы проекта

Привет! Это вторая часть. Первая была про то, как автомаляр без знания кода и DeepSeek за две недели собрали робота из старого смартфона. Там — эмоции и философия. Здесь — хардкор. В этом тексте: — Архитектура проекта: кто за что отвечает. — Все файлы: сервер, прошивка ESP, веб-морда, стример. — Карта минногополя — то, о чем молчат туториалы. — Инструкция «запусти за 5 минут» и как адаптировать под другое железо. Будут ссылки. Всё уже в репозитории.

habr.com/ru/articles/1007546/

#DIY #Arduino #ESP8266 #Python #WebSocket #Termux #deepseek #opensorse #AI #робототехника




Show Original Post


07.03.2026 13:57
zelphirkaltstahl (@zelphirkaltstahl@mastodon.social)

Just created a new release of my language learning tool [1] packing a massive improvement of usability for non-technical users. The change list can be found in the release notes as well. Most of the improvements are about exposing functionality for creating and editing words via the UI. Actions that previously only could be done by editing text files.

[1]: codeberg.org/ZelphirKaltstahl/




Show Original Post


07.03.2026 13:05
jobsfordevelopers (@jobsfordevelopers@mastodon.world)

PlayStation is hiring Data Scientist – Data Science Analytics and Enablement (DSAE)

🔧 #python #sql
🌎 London, United Kingdom
⏰ Full-time
🏢 PlayStation

Job details jobsfordevelopers.com/jobs/dat
#jobalert #jobsearch #hiring




Show Original Post


07.03.2026 13:05
mopicmp (@mopicmp@mastodon.social)

Python Tip: subprocess.run()

import subprocess
result = subprocess.run(
['git', 'status', '--short'],
capture_output=True, text=True, check=True
)
print(result.stdout)

subprocess.run() is the modern way to call external commands. capture_output + text=True gives...

raccoonette.gumroad.com/l/Pyth




Show Original Post


1 ...364 365 366 367 368 369 370 371 372 373 374 ...1592
UP