Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

Nice Code Formatting Conversion On Python Site

The [documentation on the official Python site][1] site has a nice little design feature in its code examples. Each one starts out formatted for Python's "interactive interpreter" and show the expected results. For example, this snippet from the [Output Formatting][2] section :

If you click the little [TODO: Code shorthand span ] symbol in the upper left corner, the code instantly jumps to a format suitable for being run in a file. The expected out also disappears making the snippet ready to copy and paste directly into a file.

That's an incredibly useful feature. Very nicely done, Python doc crew.

Footnotes And References