Python indentation deters newbies?

Christopher T King squirrel at WPI.EDU
Mon Aug 16 16:55:40 CEST 2004


On Mon, 16 Aug 2004, Peter Hansen wrote:

> What I doubt is that many of those people are out there rejecting Python
> just because it doesn't let them write god-awful unreadable code with
> artistic or random indentation.

Imagining ee cummings coding Python:

import
          sys

def main  ( )
:
    myfile
=   open

( s y s . a r g v [ 1 ] )

myfile
.
write('
   hello

world           ')myfile.



c
l
o
s
e


()main()




More information about the Python-list mailing list