5 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8"/>
6 <link href='http://fonts.googleapis.com/css?family=Calligraffitti' rel='stylesheet' type='text/css'
>
7 <style type=
"text/css">
16 h1 { font-size:
3em; }
17 h2 { font-size:
2em; }
18 h3 { font-size:
1.6em; }
20 text-decoration: none;
23 -moz-border-radius:
5px;
24 -web-border-radius:
5px;
32 text-shadow:
0 0 20px #
333;
38 text-shadow:
0 0 20px #
333;
42 -moz-border-radius:
5px;
43 -web-border-radius:
5px;
47 font-family: 'Calligraffitti', cursive;
57 <textarea id=
"source">
61 .indexlink[[Index](index.html)]
67 Material aimed for two (three?) audiences
70 2. In-school resources for children
71 3. Outreach resources, mainly Bletchley Park
73 After your suggestions on how to extend these notes to hit these audiences
77 # Programming != Computing
80 > Computational thinking is like architectural thinking.
82 > Programming is like bricklaying.
85 This course will cover four things, in increasing order of importance.
87 1. Teach some ideas about ciphers and cryptanalysis.
88 2. Show off some tools: IPython, git, doctest.
89 3. Explore some different corners of Python (itertools, multiprocessing).
90 4. Expose my thinking for how to solve these problems.
96 Pythonistas are keen on writing idiomatic Python.
98 It's often clearer and more efficient than writing C, Perl, or even Ruby in Python.
100 * [PEP-
8](http://legacy.python.org/dev/peps/pep-
0008/) is the fundamental
101 style guide. Consider getting a linter (`pylint`?)
102 * [Python Cookbok](http://shop.oreilly.com/product/
9780596001674.do) has lots of
103 recipies for doing things in Python
104 * [Idiomatic Python](http://python.net/~goodger/projects/pycon/
2007/idiomatic/handout.html):
105 Good style, but dated for Python
2
106 * [Writing Idiomatic Python](http://www.jeffknupp.com/blog/
2012/
10/
04/writing-idiomatic-python/):
107 Enough there to tempt me to buy [the book](http://www.jeffknupp.com/blog/
2012/
10/
04/writing-idiomatic-python/)
108 * [Python Guide](http://docs.python-guide.org/en/latest/writing/style/): nice
109 complement to the above
110 * [Python antipatterns](http://lignos.org/py_antipatterns/): things to avoid
114 <script src=
"http://gnab.github.io/remark/downloads/remark-0.6.0.min.js" type=
"text/javascript">
116 <script type=
"text/javascript">
117 var slideshow = remark.create({ ratio:
"16:9" });