Best of PythonSeptember 2024

  1. 1
    Video
    Avatar of indentlyIndently·2y

    Let's Build 10 Beginner Python Projects [FREE COURSE]

    A free Python course is available on Udemy that covers 10 beginner-level projects such as an income calculator, an expense splitter, a notepad using Tkinter, and a chatbot. The course includes detailed explanations and follows best practices. A limited number of coupons are available each month to claim the course for free.

  2. 2
    Article
    Avatar of habrhabr·2y

    Python Clean Code: Stop Writing Bad Code — Lessons from Uncle Bob

    Transform messy, unorganized code into clean, readable, and maintainable Python code by applying key principles from Robert C. Martin's 'Clean Code'. Learn to use meaningful naming, modular functions, proper error handling, and consistent formatting to enhance your code quality. Avoid common pitfalls like excessive comments, code duplication, and side effects. Test-Driven Development (TDD) and Command Query Separation are also discussed as vital practices for robust code.

  3. 3
    Article
    Avatar of hnHacker News·2y

    Using GPT-4o for web scraping

    A developer experimented with using GPT-4o's structured outputs for web scraping, creating an AI-assisted web scraper. While the model performed well with simple and complex tables, it struggled with combined rows and generating XPaths. Cost is a concern due to the model's character volume requirements. Future improvements could include better UX through capturing browser events and further refining HTML data cleanup.

  4. 4
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Start Building Projects with LLMs

    Becoming an LLM engineer is a promising career path. The best way to learn is by building projects. This post suggests starting with practical projects like developing a YouTube video summarizer that uses Python packages such as langchain, pytube, and youtube-transcript-api. The core bot functionality involves receiving a YouTube URL, retrieving the transcript, and using LLM to summarize the content, which is then returned to the user. For deployment, serve the summarization functionality as a Flask API and use Twilio to connect to WhatsApp for testing. The post also introduces a project-based course for LLM applications.

  5. 5
    Video
    Avatar of TechWithTimTech With Tim·2y

    Learn Python With These 5 Projects (From Beginner to Advanced)

  6. 6
    Article
    Avatar of communityCommunity Picks·2y

    Top Open Source Projects That Improve Your Coding Skills

    Open source projects have revolutionized technology, providing tools and platforms for innovative solutions. Highlighted are impactful projects in Python, Java, project management, GitHub, C++, and JavaScript. Featured projects include Django, Flask, Pandas, Spring Framework, Apache Tomcat, Redmine, OpenProject, React, and Node.js, amongst others. Contributing to open source is encouraged with tips on finding and understanding projects, setting up environments, and community engagement.

  7. 7
    Video
    Avatar of indentlyIndently·2y

    5 Good Python Practises

    The post discusses five best practices for writing Python code: giving variables descriptive and concise names, using type annotations to catch errors early, adding useful comments to clarify code intentions, writing detailed docstrings for functions to improve code documentation, and using the `if __name__ == '__main__'` check to avoid unintended code execution when importing modules.

  8. 8
    Article
    Avatar of javarevisitedJavarevisited·2y

    The 2024 Machine Learning Engineer RoadMap

    The 2024 Machine Learning Engineer RoadMap offers a comprehensive guide to becoming a professional in the field. Starting with foundational languages like Python and R, it recommends essential courses and libraries such as NumPy, Pandas, and Matplotlib for data pre-processing and visualization. The road map details various types of machine learning techniques, including supervised, unsupervised, and reinforcement learning, with course recommendations for deeper understanding. It emphasizes the growing opportunities in the field and provides a curated set of resources for aspiring engineers.

  9. 9
    Article
    Avatar of mlmMachine Learning Mastery·2y

    5 Real-World Machine Learning Projects You Can Build This Weekend

    Applying machine learning with real-world datasets teaches valuable skills like cleaning data and handling class imbalance. This guide provides five weekend projects with suggested datasets, goals, and focus areas, such as predicting house prices, sentiment analysis of tweets, customer segmentation, churn prediction, and movie recommendations. By building APIs and dashboards, you gain end-to-end machine learning experience.

  10. 10
    Article
    Avatar of lpythonLearn Python·2y

    Beginner Python Content Suggestion

    Sophia, a self-taught Python developer and YouTuber, creates beginner-friendly Python videos. She invites her community to share the Python concepts they struggle with, so she can make helpful content addressing those topics.

  11. 11
    Video
    Avatar of programmingwithmoshProgramming with Mosh·2y

    Python Projects for Beginners – Master Problem-Solving! 🚀

    Mosh introduces a Python course aimed at beginners that focuses on not just building projects, but also on developing problem-solving skills. The course guides learners from understanding a problem to creating clean, maintainable solutions. It covers basic to advanced Python concepts and includes supplemental materials such as a project handbook and GitHub code repository. The course structure encourages hands-on practice by tackling projects like dice rolling games, number guessing games, and rock-paper-scissors, culminating in a QR code generator using third-party libraries.

  12. 12
    Video
    Avatar of TechWithTimTech With Tim·2y

    Build a Python AI Voice Assistant in 30 Minutes - Full Tutorial

    Learn to build a Python AI voice assistant in 30 minutes that mimics OpenAI's voice mode. The assistant uses Live Kit for low-latency voice processing and OpenAI for speech-to-text and text-based intelligence. The tutorial covers setting up a virtual environment, installing dependencies, and coding the assistant to handle tasks like controlling room temperatures. The assistant can be expanded to integrate APIs and additional functionalities.

  13. 13
    Video
    Avatar of indentlyIndently·2y

    How To Write Better Functions In Python

    Learn how to write better functions in Python with easy-to-remember tips, including keeping function names concise, specifying return types, making functions simple and reusable, documenting functions, and handling errors appropriately. These practices can help create maintainable and reliable code.

  14. 14
    Article
    Avatar of rpythonReal Python·2y

    Python 3.13: Cool New Features for You to Try – Real Python

    Python 3.13, releasing on October 1, 2024, introduces several noteworthy improvements aimed at enhancing performance and developer experience. Highlights include an improved REPL, clearer error messages, advancements in removing the global interpreter lock (GIL), an experimental Just-In-Time (JIT) compiler, and several updates to Python's static type system. These changes lay the groundwork for future enhancements and make Python more efficient for both new and experienced developers.

  15. 15
    Video
    Avatar of youtubeYouTube·2y

    Complete Backend Software Engineer Mind Map - Everything You Need to Know (2 HOURS!)

    The post explores the essential technologies and frameworks necessary for a backend software engineer. It emphasizes the significance of understanding various backend frameworks, the importance of selecting widely used and supported technologies, and the utility of ORMs for database management. Key programming languages like Python, JavaScript, and Java are discussed alongside their popular frameworks such as Django, Flask, and Express. The post also highlights the importance of choosing the right framework based on project requirements and team preferences.

  16. 16
    Article
    Avatar of jetbrainsJetBrains·2y

    Django Project Ideas

    Get inspired with a range of Django project ideas, from simple beginner apps to more advanced, full-stack applications. Learn how to set up a Django project, develop models, views, and templates, and explore various tech stacks for each project. Ideal for building a personal project, enhancing your portfolio, or experimenting with new technologies.

  17. 17
    Article
    Avatar of kdnuggetsKDnuggets·2y

    10 Built-In Python Modules Every Data Engineer Should Know

    Python's standard library includes built-in modules that are essential for data engineering tasks. Key modules like os, pathlib, shutil, csv, json, pickle, sqlite3, datetime, re, and subprocess enable efficient file and directory management, data handling and serialization, database interaction, text processing, and more. Utilizing these modules can streamline your data engineering workflows, providing essential functionality without relying on external libraries.

  18. 18
    Article
    Avatar of game_developersGame Developers·2y

    Starting game development

    A game development enthusiast shares their experience of learning Python and Pygame to create a small Mario Bros clone. They now seek recommendations on transitioning to C# and Unity for further game development projects.

  19. 19
    Article
    Avatar of planetpythonPlanet Python·2y

    47 - Python Projects of 2024

    The author highlights two notable projects they've worked on: 'JupyterLab 101 Book' available on Kickstarter and a book titled 'Textual'. Readers are encouraged to support the publication by subscribing.

  20. 20
    Article
    Avatar of medium_jsMedium·2y

    Generating Music using AI and Python!

    Discover how to generate music using AI and Python with Facebook's MusicGen, a Transformer-based model. The post provides a detailed guide on setting up the Python environment with necessary libraries, importing and configuring the MusicGen model, and generating and saving music. The author also shares a future plan to create a Flask web application for generating music via a GUI.

  21. 21
    Article
    Avatar of communityCommunity Picks·2y

    sliday/resume-job-matcher: Resume Matcher: AI-powered resume screening tool

    Resume Job Matcher is an AI-powered Python script designed to automate the process of matching resumes to job descriptions. It uses the Anthropic Claude API to analyze resumes, providing a match score and personalized email responses for candidates. Features include automated resume parsing, an advanced scoring system, multiprocessing support, and integration of personal website content. The script effectively streamlines the recruitment process by highlighting the best candidates based on customizable criteria.

  22. 22
    Video
    Avatar of davidbombalDavid Bombal·2y

    Hacking networks with Python (FREE CCNA 200-301 Course 2024)

    The post is part of a CCNA course focused on practical demonstrations using real equipment like Cisco switches and Kali Linux. It covers the concepts of root guard and BPDU guard, showing how these features can protect a network's spanning tree topology. The author uses a Python script to simulate network attacks and demonstrates how to secure the network using these tools. The post highlights the availability of free and paid training materials on Cisco U, where readers can practice along with the demonstrations.

  23. 23
    Article
    Avatar of gopenaiGoPenAI·2y

    Introduction to LLM Agents: How to Build a Simple Reasoning and Acting Agent from Scratch (Part 1)

    Learn the fundamental concepts of building AI agents by implementing a simple reasoning and acting agent. This guide uses Ollama to run large language models locally and demonstrates the agent's ability to understand user queries, leverage web searches, and provide responses. The post outlines setting up necessary dependencies, implementing core functionalities, and explains the workflow of agent interaction, making it an excellent starting point for AI agent development.

  24. 24
    Video
    Avatar of indentlyIndently·2y

    5 Cool Dataclass Features In Python

    Learn about five cool features of Python's data classes: automatic initializer creation, readable string representation, built-in ordering, immutability, and computed properties. These features simplify class creation and usage, enhancing code readability and reducing the amount of boilerplate code required.

  25. 25
    Article
    Avatar of planetpythonPlanet Python·2y

    Adding Terminal Effects with Python

    TerminalTextEffects is a Python package that adds visual effects to terminal text interfaces. It supports Xterm 256/RGB hex colors, complex animations with Paths and Beams effects, and integrates with other TUI libraries. Installation is simple using pip, and the package offers various built-in effects to enhance text-based UIs.