PEP8 compliance

Marko Rauhamaa marko at pacujo.net
Wed Jun 13 12:34:26 EDT 2018


ram at zedat.fu-berlin.de (Stefan Ram):

> T Berger <brgrt2 at gmail.com> writes:
>>to change my code if it's failed the PEP8 test,
>>what code do I use to open my program and make changes?
>
>   A text editor (emacs, vim, pico, IDLE, notepad, ex, sed, ...).
>   What did you use to write your code in the first place?

This is a hugely important introductory hurdle for beginning
programmers. The Wikipedia page on the topic,

   <URL: https://en.wikipedia.org/wiki/Text_editor>

makes the gross mistake of equating a text editor with Microsoft's
Notepad.

In fact, I couldn't find a simple introduction to the topic on the Web.
One shouldn't think the term is obvious to beginning programmers because
they probably don't understand that "text editor" refers to a very
specific, hard-to-explain kind of a tool.

Maybe, before you try to explain what a text editor is, you should try
to explain what "text" is. For that you have to start explaining the
organization of information, "characters" and integers as sequences of
bits, and bits as disturbances in the force...


Marko




More information about the Python-list mailing list