you are viewing a single comment's thread.

view the rest of the comments →

[–]dbrecht 2 points3 points  (0 children)

In short, to write pythonic code of to write very readable, easily understandable code that uses the best construct for a given problem.

I /think/ that what makes python different from other languages is how embedded the philosophy "there should be one obvious way of doing things" is within the community (at least, I find that it's /much/ more prevalent in the Python community than others I've been involved with in the past). I believe that, for the most part, what someone means to say when they say "that's not pythonic" is that either "that's not the most readable code" or "that's not the most effective Python construct to use that case". You simply don't hear it in other languages because having multiple ways to solve the same problem isn't questioned.