Files
dive-into-python3/iterators-and-generators.html
T
2009-05-29 16:16:07 -07:00

68 lines
3.2 KiB
HTML

<!DOCTYPE html>
<head>
<meta charset=utf-8>
<meta name=robots content=noindex>
<title>Secret Leftover Page - Dive into Python 3</title>
<link rel=stylesheet href=dip3.css>
<style>
body{counter-reset:h1 -1}
h1:before{counter-increment:h1;content:""}
</style>
<link rel=stylesheet media='only screen and (max-device-width: 480px)' href=mobile.css>
<link rel=stylesheet media=print href=print.css>
<meta name=viewport content='initial-scale=1.0'>
</head>
<form action=http://www.google.com/cse><div><input type=hidden name=cx value=014021643941856155761:l5eihuescdw><input type=hidden name=ie value=UTF-8>&nbsp;<input name=q size=25>&nbsp;<input type=submit name=sa value=Search></div></form>
<p>You are here: <a href=index.html>Home</a> <span>&#8227;</span> <a href=table-of-contents.html>Dive Into Python 3</a> <span>&#8227;</span>
<h1>Secret Leftover Page</h1>
<blockquote class=q>
<p><span>&#x275D;</span> You step in the stream / but the water has moved on. / This page is not here. <span>&#x275E;</span><br>&mdash; 404 Not Found haiku
</blockquote>
<p id=toc>&nbsp;
<h2 id=divingin>Huh?</h2>
<p class=f>This book used to have a chapter called &#8220;Iterators <i class=baa>&amp;</i> Generators,&#8221; but I split the chapter in half so I could introduce Python classes before talking about iterators. The content that used to be at this address is now in one of those two chapters:
<ul>
<li><a href=generators.html>Generators</a>
<li><a href=iterators.html>Iterators</a>
</ul>
<!--
<p>But since you&#8217;re here, I&#8217;d like to talk about some of the small stuff I sweated while writing this book.
<h2 id=typography>Typography</h2>
<p>vertical rhythm, best available ampersand, curly quotes/apostrophes, other stuff from webtypography.net
<h2 id=graphics>Graphics</h2>
<p>Unicode, callouts, font-family issues on Windows
<h2 id=performance>Performance</h2>
<p>"Dive Into History 2009 edition", minimizing CSS + JS + HTML, inline CSS, async jQuery
<h2 id=fun>Fun stuff</h2>
<p>Quotes, constrained writing, PapayaWhip
<h2 id=furtherreading>Further Reading</h2>
<ul>
<li><a href="http://webtypography.net/toc/">The Elements of Typographic Style Applied to the Web</a>
<li><a href="http://www.alistapart.com/articles/settingtypeontheweb">Setting Type on the Web to a Baseline Grid</a>
<li><a href="http://24ways.org/2006/compose-to-a-vertical-rhythm">Compose to a Vertical Rhythm</a>
<li><a href="http://simplebits.com/notebook/2008/08/14/ampersands.html">Use the Best Available Ampersand</a>
<li><a href="http://alanwood.net/unicode/">Unicode Support in HTML, Fonts, and Web Browsers</a>
<li><a href="http://developer.yahoo.com/yslow/">YSlow</a> for <a href="http://getfirebug.com/">Firebug</a>
<li><a href="http://developer.yahoo.com/performance/rules.html">Best Practices for Speeding Up Your Web Site</a>
<li><a href="http://stevesouders.com/hpws/rules.php">14 Rules for Faster-Loading Web Sites</a>
<li><a href="http://developer.yahoo.com/yui/compressor/">YUI Compressor</a>
<li><a href="http://code.google.com/apis/ajaxlibs/">Google AJAX Libraries API</a>
</ul>
-->
<p class=c>&copy; 2001&ndash;9 <a href=about.html>Mark Pilgrim</a>
<script src=jquery.js></script>
<script src=dip3.js></script>