python

Back Open Paginator
12.09.2025 07:59
xavierdatatech (@xavierdatatech@mastodon.social)

🚀 New LangChain Cheatsheet!
Build smarter LLM apps in Python with real examples:
✅ Chains & Agents
✅ Memory & Retrieval
✅ LangGraph
✅ API tools & RAG

Code-ready, clean & useful.
7-day thread starts tomorrow 🧠🧵





Show Original Post


12.09.2025 07:42
ernestowg (@ernestowg@mas.to)

Back on #Python after a couple of years (for data processing, not developing) and I don't even remember how to look inside a dataframe. Why do I do this to myself?




Show Original Post


12.09.2025 06:20
diazona (@diazona@techhub.social)

@RomanOnARiver Two very useful features indeed! (IMO)

Personally I'd add type hints in to that list, if you're not already using them

#Python




Show Original Post


12.09.2025 05:30
rasterweb (@rasterweb@mastodon.social)

I did not make any good progress on my project to read GPX data with Python today. (Trying to read speed.) May need to just read it as XML.

There are a bunch of nerds who do Python and bikes though, so someone might have the code example I need.




Show Original Post


12.09.2025 05:28
ology (@ology@fosstodon.org)

I've coded-up a really cool #Python class: pypi.org/project/chord-progres - It is a network transition, musical chord progression generator. Like a Markov chain thing. :)

Dig it!




Show Original Post


12.09.2025 04:34
RomanOnARiver (@RomanOnARiver@mastodon.social)

Two things I think I need to start using in are f-strings and lambdas. It's hard to change though, but when I'm refactoring I'll make an effort.




Show Original Post


12.09.2025 04:15
RomanOnARiver (@RomanOnARiver@mastodon.social)

Sometimes you want to keep and pushing but it's important to take time to rest, it's important to take time to learn and plan. For example I'm dealing with -RT data, which I have never used before. It's not just CSVs like data is, so I took the time today to better learn the spec and the module to interact with it. By the end I was able to take VehiclePositions.pb and convert it to a json file.




Show Original Post


12.09.2025 03:55
serpentroots (@serpentroots@hachyderm.io)

It's frustrating as there're a lot of really nice TUI apps written in #python but I often give up during install as life's too short to deal with that mess of an ecosystem.




Show Original Post


12.09.2025 02:44
treyhunner (@treyhunner@mastodon.social)

When a function is defined within a function and the inner function accesses variables from the outer function, Python uses a "closure" to keep track of those variables that are defined just outside the inner function, in its enclosing scope. trey.io/4u4pj0




Show Original Post


12.09.2025 02:42
habr (@habr@zhub.link)

Напердолил целую игру

Уууу, давно хотелось чего-то простого, смешного и без лишних заморочек. Чтобы мемов побольше и можно было с пацанами погонять. В итоге получились "TANKOLINI NAPIERDOLKI" . Старый добрый монохромный экран, тетрис, мультиплеер и редактор карт для каждого. С другой стороны — всё на канвасе, с вручную отрисованными пикселями, без всяких ассетов и движков. Python на бэке, PostgreSQL для карт и Redis для игровых комнат. Обо всём этом — в статье.

habr.com/ru/articles/946222/

#python #javascript #web #canvas #redis #postgresql #tetris #multiplayer #websockets #rest




Show Original Post


12.09.2025 01:03
technology_tales (@technology_tales@mstdn.social)

Comprehensive guide to building agentic AI systems that can plan, reason & act autonomously. Covers foundations, frameworks like LangChain, hands-on projects & multi-agent coordination. From basic tool-using agents to sophisticated collaborative systems. #AgenticAI #MachineLearning #ArtificialIntelligence #AI #TechGuide #Programming #Python #LangChain #Automation kdnuggets.com/agentic-ai-a-sel




Show Original Post


11.09.2025 23:45
djangocon (@djangocon@fosstodon.org)

🎟️ In-person & online tickets: ti.to/defna/djangocon-us-2025
#DjangoCon #Python #Django




Show Original Post


1 ...1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 ...1551
UP