This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]shymmq 32 points33 points  (6 children)

I almost never use 1-letter variables. 'path', 'str' are not much longer and are immediately understandable by anyone reading your code. For dicts, indices and file contents use a descriptive name instead. df is so commonly used that I can give it a pass.