nowfound

Dev tools · July 14, 2018

How to make your Python code more idiomatic – 25 tips and tricks

Jupyter notebooks for teaching/learning Python 3. Contribute to jerry-git/learn-python3 development by creating an account on GitHub.

How to make your Python code more idiomatic – 25 tips and tricks launched on July 14, 2018 with 56 votes, #755 of 2,673 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 8 years on.

In plain words

This is a collection of 25 tips and tricks for writing more idiomatic Python code, hosted on GitHub. It targets Python developers looking to improve code style and consistency. The resource covers practical techniques for writing Python in ways that align with community conventions and best practices. It serves as a reference guide for developers who want to better understand Pythonic patterns and conventions.

written from the facts on this page · September 2026

Does a similar job

all alternatives →
  • Best practices for Python2018 · github.com · ▲5

    Jupyter notebooks for teaching/learning Python 3. Contribute to jerry-git/learn-python3 development by creating an account on GitHub.

  • Learn Python the Right Way – free introduction to Python book2021 · learnpythontherightway.com · ▲245
  • I wrote a book about Python2021 · pragprog.com · ▲181

    Hey HN! I wrote a book on programming called The Elements of Code. I put the entire book online here: https://elementsofcode.io/ When mentoring (usually new) programmers, I noticed there were a few common mistakes that seemed to account for about 80% of the complexity in their code. I couldn’t find a concise guide to fixing those mistakes, so I decided to write one. The title is an homage to The Elements of Style by Strunk and White, which is the classic guide for communicating well using prose. That guide is quite tactical in nature, and I wanted to parallel its focus in The…

  • Futurecoder – A free interactive Python course for coding beginners2023 · futurecoder.io · ▲371

    Some highlights: - 100% free and open source (https://github.com/alexmojaki/futurecoder), no ads or paid content. - No account required at any point. You can start instantly. (You can create an account if you want to save your progress online and across devices. Your email is only used for password resets) - 3 integrated debuggers can be started with one click to show what your code is doing in different ways. - Enhanced tracebacks make errors easy to understand. - Useful for anyone: You can have the above without having to look at the course. IDE mode…

  • Easy to understand intro to Python2017 · github.com · ▲82

    Aims to teach Python3 by example. Contribute to thewhitetulip/build-app-with-python-antitextbook development by creating an account on GitHub.

  • IW
    I wrote a book on idiomatic Python. Here's its insane build/test system2013 · jeffknupp.com · ▲15

    Background: I've been working on a book to help developers learn and write idiomatic Python. It's taken far longer than I imagined, but today I made it available for purchase (http://www.jeffknupp.com/writing-idiomatic-python-ebook). The automated build and test system I'm using is ridiculous. It uses: virtualenv, tox, pytest, coverage, doctest, pandoc, make, xelatex, makeindex, and a ~200 line Python script to collect and format the output. The details of the build/test system I created are described in detail here:…

More dev tools this month

the category →
  • /dev/null▲482

    a social network for devs

    Dev tools · 2d ago · dev-null.sh

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 27d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 25d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 22d ago · openbot.run

  • Talanoa▲343

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 20d ago · talanoa.email

  • CoreSpeed▲332

    One MCP for everything your agents need: apps, memory, tools

    Dev tools · 28d ago · corespeed.io

Source: Show HN post ↗

Launched alongside, July 2018

the whole month →