The Artima Developer Community
Sponsored Link

All Things Pythonic
Myths About Indentation in Python
by Guido van van Rossum
September 26, 2007
Summary
I stumbled upon a particularly lucid explanation of Python's significant indentation, by Oliver Fromme of secnetics GmbH.

Advertisement

This is the place where to point your friends when they gripe about Python's "significant whitespace". I could't have said it better myself. There even are details on how it's parsed, for those who are interested.

http://www.secnetix.de/~olli/Python/block_indentation.hawk

Talk Back!

Have an opinion? Readers have already posted 21 comments about this weblog entry. Why not add yours?

RSS Feed

If you'd like to be notified whenever Guido van van Rossum adds a new entry to his weblog, subscribe to his RSS feed.

About the Blogger

Guido van Rossum is the creator of Python, one of the major programming languages on and off the web. The Python community refers to him as the BDFL (Benevolent Dictator For Life), a title straight from a Monty Python skit. He moved from the Netherlands to the USA in 1995, where he met his wife. Until July 2003 they lived in the northern Virginia suburbs of Washington, DC with their son Orlijn, who was born in 2001. They then moved to Silicon Valley where Guido now works for Google (spending 50% of his time on Python!).

This weblog entry is Copyright © 2007 Guido van van Rossum. All rights reserved.

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use