how do you move to a new line in your text editor?

Eric Deveaud edeveaud at
Fri Mar 3 12:47:31 CET 2006

John Salerno wrote:
>  This is a real small point, but I'd like to hear what others do in this 
>  case. It's more an 'administrative' type question than Python code 
>  question, but it still involves a bit of syntax.
>  One thing I like to do is use tabs for my indentation, because this 
>  makes it easy to outdent when I need to start a new line in column 1. I 
>  can press backspace once and move 4 spaces to the left.
>  But I read in the PEP that spaces are recommended over tabs. If this is 
>  the case, it would involve pressing backspace 4 times (or 8, etc.) to 
>  get back to column 1.

you can still use tabs for editing, and if you want to provide space indented
code you can write a small tab2space converter in python 

more seriously, most of the editors (at least Emacs and vim) may use tab for
automatic indentation but convert the tabs to a specified space number


> Le lecteur c'est Outlook express (ceci explique sans doute celà)
Outlook Express, c'est fait pour demander comment configurer Emacs
pour lire le courrier et les news.
-+- GK in Guide du linuxien pervers - "De l'utilité de Outlook" -+-

More information about the Python-list mailing list