Best of Python2024

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

    10 Python Functions You NEED To Master

    Learn about 10 important Python functions that can save you time and improve your code. Explore how to modify the behavior of the print function, use the help function to access documentation, generate sequences of numbers with the range function, apply functions to iterable objects using the map function, filter iterable objects based on a certain condition with the filter function, get the sum of numbers using the sum function, sort iterable objects using the sorted function, loop through iterable objects with both index and value using the enumerate function, combine iterable objects using the zip function, and read from and write to files using the open function.

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

    10 Python Functions That Will Simplify Your Life

  3. 3
    Article
    Avatar of medium_jsMedium·2y

    12+ Things I Regret Not Knowing Earlier About Python Lists

    Learn various useful techniques to handle Python lists effectively. Discover the power of the * operator for combining and unpacking lists, the difference between .sort() and sorted(), and advanced methods like list comprehensions, .insert(), and .extend(). Understand the distinct advantages and limitations of tuples compared to lists.

  4. 4
    Article
    Avatar of mlnewsMachine Learning News·2y

    Top 10 Platforms to Practice Python

    Python is a versatile programming language widely used in web development, data analysis, and machine learning due to its simplicity and extensive ecosystem. There are various platforms available for practicing Python, each offering unique features like interactive exercises, real-world problems, and gamified elements to help learners from beginner to advanced levels improve their skills. These platforms include HackerRank, LeetCode, Codewars, Edabit, Codecademy, Practice Python, Real Python, PYnative, TutorialsPoint, and Exercism. Each platform provides different learning experiences ranging from structured modules, community forums, and tailored feedback to gamified challenges and interactive tutorials.

  5. 5
    Article
    Avatar of lobstersLobsters·2y

    I'm a programmer and I'm stupid

    A programmer shares their experience of feeling limited in their mental capacity and discusses their approach to programming with simple languages and minimal dependencies.

  6. 6
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Build Good Coding Habits as a New Python Developer

    To build good coding habits as a new Python developer, follow the PEP 8 style guide, always use the newest Python version, comment your code for clarity, use linters to maintain clean code, rely on built-in functions and libraries, and fix code issues as soon as they arise. Practicing these habits will help you write more readable and efficient code.

  7. 7
    Article
    Avatar of communityCommunity Picks·2y

    50 Coding Laws That Would Make You A Decent Programmer.

    Learn 50 coding laws that can help you become a better programmer. These laws cover various aspects of coding such as avoiding comments, naming variables and functions, writing clean code, and following best practices.

  8. 8
    Video
    Avatar of indentlyIndently·2y

    What does '__init__.py' do in Python?

    The __init__.py file in Python is used to mark a directory as a package and runs any setup code required for the package. It is essential for allowing Python to recognize the folder as a package and enabling imports from it. The file is executed every time the package is imported, and it can be used to define which modules or functions are accessible when using a wildcard import (from package import *). The tutorial demonstrates how to create a package, define modules, and use the __init__.py file to manage different import behaviors.

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

    Build a Python Website in 15 Minutes With Streamlit

  10. 10
    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.

  11. 11
    Article
    Avatar of kdnuggetsKDnuggets·2y

    5 Free Certifications to Land Your First Developer Job

    Free certifications can be a valuable asset, especially for those switching to software development from non-tech roles. The post lists five certifications, including freeCodeCamp’s Responsive Web Design and JavaScript Data Structures and Algorithms, and Harvard’s CS50 Introduction to Computer Science, which teach essential skills through hands-on projects and coding challenges. Completing these certifications can help build an impressive project portfolio and prepare for technical interviews.

  12. 12
    Article
    Avatar of kdnuggetsKDnuggets·2y

    LLM Portfolio Projects Ideas to Wow Employers

    Discover diverse AI project ideas that can be built using Python and various open-source tools like LangChain, FastAPI, OpenAI API, and Hugging Face. From fine-tuning Llama 3 and creating Q&A retrieval systems to building YouTube summarizers and vacation planning assistants, these projects are designed to enhance your portfolio and impress potential employers. Each project comes with guides or sample links to aid in development, making AI more accessible even to those with fundamental Python skills.

  13. 13
    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.

  14. 14
    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.

  15. 15
    Article
    Avatar of planetpythonPlanet Python·2y

    Python's many command-line utilities

    Discover Python modules that can be run as command-line tools and learn how to use the webbrowser module from the command-line.

  16. 16
    Article
    Avatar of devtoDEV·2y

    Optimizing Your Work-from-Home Setup for Career Success

    Optimizing a work-from-home setup involves creating a conducive workspace that fosters productivity and creativity. Key practices include establishing a consistent daily routine, stepping outside for breaks, investing in ergonomic furniture, setting clear goals, and continuously learning. Adapting to changes and managing time efficiently are also crucial for success in a new career.

  17. 17
    Article
    Avatar of lpythonLearn Python·2y

    Something simple for today 😁

  18. 18
    Article
    Avatar of hnHacker News·2y

    darrenburns/posting: The modern API client that lives in your terminal.

    Posting is a terminal-based HTTP client designed for efficient keyboard-centric interactions. It stores requests locally in YAML files, ensuring easy version control. Key features include 'jump mode' navigation, environment/variable management with autocompletion, various themes, and a command palette. Installation requires Python 3.11 or later and can be done using pipx. Users can also import OpenAPI 3.x specifications to create collections. Configuration is flexible, supporting YAML files, environment variables, and .env files.

  19. 19
    Article
    Avatar of lonely_programmerLonely Programmer·1y

    Language Stats

  20. 20
    Article
    Avatar of medium_jsMedium·2y

    VScode Extensions for Documentation

    This post reviews the author's favorite VScode extensions for documentation, including Quarto, Jupyter, and Markdown All in One.

  21. 21
    Article
    Avatar of communityCommunity Picks·2y

    100 Days of Code - The Complete Python Course

    Learn programming basics, master Python, and build projects in this 100-day course. Join a fun and supportive community and get coding instantly with Replit.

  22. 22
    Article
    Avatar of tilThis is Learning·2y

    7 Open Source Projects You Should Know - Python Edition ✔️

    Explore seven noteworthy open source projects written in Python, including pandas for data analysis, Apache Airflow for workflow management, G4F for decentralized AI technologies, Scrapy for web scraping, Ultroid as a Telegram UserBot, Zulip for team collaboration, and Freqtrade for crypto trading. Discover their features, installation guides, and more to enhance your coding endeavors.

  23. 23
    Article
    Avatar of bytebytegoByteByteGo·2y

    EP125: How does Garbage Collection work?

    Garbage collection is a crucial automatic memory management feature used in many programming languages. Java offers multiple garbage collectors tailored to different scenarios, Python employs reference counting alongside a cyclic collector to handle circular references, and GoLang utilizes a concurrent mark-and-sweep garbage collector to minimize application pauses. Additional topics include tools for designing fault-tolerant systems and key system design trade-offs.

  24. 24
    Video
    Avatar of fireshipFireship·2y

    Mind-bending new programming language for GPUs just dropped...

    A new programming language called Bend promises parallelism and allows code to be run in parallel on both CPU and GPU cores. It eliminates the need to know low-level concepts and offers significant performance improvements.

  25. 25
    Article
    Avatar of medium_jsMedium·2y

    Forget `pip install`, Use This Instead

    Install Python packages up to 100x faster with uv, a turbo-fast Python package installer and resolver written in Rust as a substitute for pip. uv is faster due to Rust, global module cache, copy-on-write and hardlinks. You can install uv using curl, pip, or brew.