🚀 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 🧠🧵
#LangChain #LLM #Python #AI #DataScience #RAG #GenerativeAI

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?
@RomanOnARiver Two very useful features indeed! (IMO)
Personally I'd add type hints in to that list, if you're not already using them
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.
I've coded-up a really cool #Python class: https://pypi.org/project/chord-progression-network/ - It is a network transition, musical chord progression generator. Like a Markov chain thing. :)
Dig it!
Two things I think I need to start using in #python are f-strings and lambdas. It's hard to change though, but when I'm refactoring I'll make an effort. #programming #coding
Sometimes you want to keep #coding 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 #GTFS-RT data, which I have never used before. It's not just CSVs like #GTFS data is, so I took the time today to better learn the spec and the #python module to interact with it. By the end I was able to take VehiclePositions.pb and convert it to a json file.
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.
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. https://trey.io/4u4pj0
Напердолил целую игру
Уууу, давно хотелось чего-то простого, смешного и без лишних заморочек. Чтобы мемов побольше и можно было с пацанами погонять. В итоге получились "TANKOLINI NAPIERDOLKI" . Старый добрый монохромный экран, тетрис, мультиплеер и редактор карт для каждого. С другой стороны — всё на канвасе, с вручную отрисованными пикселями, без всяких ассетов и движков. Python на бэке, PostgreSQL для карт и Redis для игровых комнат. Обо всём этом — в статье.
https://habr.com/ru/articles/946222/
#python #javascript #web #canvas #redis #postgresql #tetris #multiplayer #websockets #rest
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 https://www.kdnuggets.com/agentic-ai-a-self-study-roadmap
🎟️ In-person & online tickets: https://ti.to/defna/djangocon-us-2025
#DjangoCon #Python #Django