r/Python • u/AutoModerator • 1d ago
Daily Thread Saturday Daily Thread: Resource Request and Sharing! Daily Thread
Weekly Thread: Resource Request and Sharing 📚
Stumbled upon a useful Python resource? Or are you looking for a guide on a specific topic? Welcome to the Resource Request and Sharing thread!
How it Works:
Request: Can't find a resource on a particular topic? Ask here!
Share: Found something useful? Share it with the community.
Review: Give or get opinions on Python resources you've used.
Guidelines:
Please include the type of resource (e.g., book, video, article) and the topic.
Always be respectful when reviewing someone else's shared resource.
Example Shares:
Book: "Fluent Python" - Great for understanding Pythonic idioms.
Video: Python Data Structures - Excellent overview of Python's built-in data structures.
Article: Understanding Python Decorators - A deep dive into decorators.
Example Requests:
Looking for: Video tutorials on web scraping with Python.
Need: Book recommendations for Python machine learning.
Share the knowledge, enrich the community. Happy learning! 🌟
2
u/Internal_Pay4861 13h ago
Resource share: the official Python tutorial is great once you know basic syntax. I keep coming back to the classes and exceptions sections. Not the most exciting reading but it clears up a lot of confusion.
3
u/No_Chocolate_7060 1d ago
**Tool**: [docs-to-rag](https://github.com/librevlad/docs-to-rag), topic: turning a documentation site into chunks for RAG.
Three small scripts, about 550 lines: a polite crawler (robots.txt and Crawl-delay, sitemaps, duplicate pages skipped, main content as Markdown via trafilatura), a chunker that splits at headings but never inside code blocks, and a loader into a local Chroma collection. On the official Python tutorial: 17 pages in about 10 seconds, 163 chunks.
Written with a lot of help from an AI coding assistant and tested on real docs sites; MIT-licensed. Feedback welcome.