Edit: This question has already been asked and answered, and I apparently am not good at using the search wizard. See Why does Python pep-8 strongly recommend spaces over tabs for indentation? and the link in the comments. Thanks for replying to those who did so.
I want to start a new project, and I want this to be my first Python project. I was looking through the style guide, http://www.python.org/dev/peps/pep-0008/, which “strongly recommends” using a 4-spaces indentation style for new projects. But I just hate this idea! In my opinion, tabs are better for this purpose.
What annoyances could crop up one day if another developer wanted to work on my tab-delimited files?
Most Python programmers will have their editors configured to automatically use four spaces for all
.pyfiles… Which could, at least initially, cause some minor headaches if they try to edit your source.But apart from that (given that PEP 666 was rejected), it shouldn’t cause any major trouble.
Of course, if you get serious about Python, it would be a good idea to follow PEP 8, as most Python code conforms to it… But, given that this is your first Python project, you’ve got bigger things to worry about than tabs VS spaces.