PyCharm automatically does it when I say "Create new Python file". I never really thought about how much sense it makes (or doesn't).