Hacker News new | past | comments | ask | show | jobs | submit login

I recently started working within a Python codebase, and one of the things I really like about it (not sure whether this is standard Python practice) is that most directories have a "common.py" file in them. So if you just want to put something somewhere real quick, you can elevate it to exactly the appropriate directory-level instead of going to a single, global "utils" file. It's a neat pattern.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: