Tabs versus Spaces in Source Code

achates aylwyn at cantab.net
Wed May 17 08:18:29 EDT 2006


>Hitting the spacebar like a madman? If you have a sensible editor then at
>the start of a line you press tab once

True! but normally if I'm editing someone else's code then I'm only
making small changes and so can't be bothered to temporarily cripple my
editor. If I'm merging my code with someone else's space-indented code
then piping through sed 's/TAB/SPACES' does the trick.




More information about the Python-list mailing list