Syntax do not use tabs, use spaces where 4 spaces == 1 TAB do not use windows line breaks, use UNIX line breaks Vim Add the following to your ~/.vimrc: autocmd Filetype python setlocal expandtab tabstop=4 ai