Repository navigation
Expand file tree
/
Copy pathupdates.atom.xml
More file actions
443 lines (443 loc) · 48.4 KB
/
Copy pathupdates.atom.xml
File metadata and controls
443 lines (443 loc) · 48.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Doing Math with Python - updates</title><link href="http://doingmathwithpython.github.io/" rel="alternate"></link><link href="http://doingmathwithpython.github.io/feeds/updates.atom.xml" rel="self"></link><id>http://doingmathwithpython.github.io/</id><updated>2023-10-25T13:20:00+10:00</updated><entry><title>Doing Math with Python in Data Science Humble Bundle</title><link href="http://doingmathwithpython.github.io/humble-bundle-data-science.html" rel="alternate"></link><published>2023-10-25T13:20:00+10:00</published><updated>2023-10-25T13:20:00+10:00</updated><author><name>Amit Saha</name></author><id>tag:doingmathwithpython.github.io,2023-10-25:/humble-bundle-data-science.html</id><summary type="html"><p class="first last">Humble bundle</p>
</summary><content type="html"><p>&quot;Doing Math with Python&quot; is part of No Starch Press's <a class="reference external" href="https://www.humblebundle.com/books/data-science-no-starch-press-books">Data Science Humble Bundle</a>
running for the next 19 days. Your purchases will help support EFF!</p>
<div class="figure align-center">
<img alt="Humble Bundle" src="http://doingmathwithpython.github.io/images/data-science-humble-bundle.png" />
</div>
<p>Get the bundle <a class="reference external" href="https://www.humblebundle.com/books/data-science-no-starch-press-books">here</a>!</p>
<p>I am still surprised that the book still continues to be relevant, and i am quietly happy that I could produce such a book,
thanks to all the help i got from No Starch folks.</p>
</content><category term="updates"></category></entry><entry><title>Chapter 3 - Google Correlate example update</title><link href="http://doingmathwithpython.github.io/chapter-3-google-correlate-example-update.html" rel="alternate"></link><published>2020-07-11T00:00:00+10:00</published><updated>2020-07-11T00:00:00+10:00</updated><author><name>Amit Saha</name></author><id>tag:doingmathwithpython.github.io,2020-07-11:/chapter-3-google-correlate-example-update.html</id><summary type="html"><p>In Chapter 3 on Page 87, the book refers to the Google Correlate service. However, as of December 2019, the service has been shutdown.
Since the chapter requires you to download a CSV formatted data, it is no longer possible. However, you can instead download a version of
the data …</p></summary><content type="html"><p>In Chapter 3 on Page 87, the book refers to the Google Correlate service. However, as of December 2019, the service has been shutdown.
Since the chapter requires you to download a CSV formatted data, it is no longer possible. However, you can instead download a version of
the data that I had used 5 years back when writing the book from
<a class="reference external" href="https://github.com/doingmathwithpython/code/blob/master/chapter3/solutions/correlate-summer.csv">here</a>.</p>
<p>Thanks to a reader for pointing me to this issue.</p>
</content><category term="updates"></category></entry><entry><title>Coding Starter Kit Humble Bundle</title><link href="http://doingmathwithpython.github.io/humble-bundle-coding-starter.html" rel="alternate"></link><published>2020-03-17T00:00:00+10:00</published><updated>2020-03-17T00:00:00+10:00</updated><author><name>Amit Saha</name></author><id>tag:doingmathwithpython.github.io,2020-03-17:/humble-bundle-coding-starter.html</id><summary type="html"><p>I am very excited to share that &quot;Doing Math with Python&quot; is part of No Starch Press's <a class="reference external" href="https://www.humblebundle.com/books/coding-starter-kit-no-starch-press-books?mc_cid=01272437d1&amp;mc_eid=a8fa0cb420">Coding Starter Humble Bundle</a>.
Of course, you get No Starch Press's other excellent coding books as part of the bundle.</p>
<p>It's on for the next 20 days!</p>
<div class="figure align-left">
<img alt="Humble Bundle" src="http://doingmathwithpython.github.io/images/coding-starter-humble-bundle.png" />
</div>
<p>Your purchases will help support the …</p></summary><content type="html"><p>I am very excited to share that &quot;Doing Math with Python&quot; is part of No Starch Press's <a class="reference external" href="https://www.humblebundle.com/books/coding-starter-kit-no-starch-press-books?mc_cid=01272437d1&amp;mc_eid=a8fa0cb420">Coding Starter Humble Bundle</a>.
Of course, you get No Starch Press's other excellent coding books as part of the bundle.</p>
<p>It's on for the next 20 days!</p>
<div class="figure align-left">
<img alt="Humble Bundle" src="http://doingmathwithpython.github.io/images/coding-starter-humble-bundle.png" />
</div>
<p>Your purchases will help support the No Starch Foundation and Scratch Foundation.</p>
<p>Get the bundle <a class="reference external" href="https://www.humblebundle.com/books/coding-starter-kit-no-starch-press-books?mc_cid=01272437d1&amp;mc_eid=a8fa0cb420">here</a>.</p>
</content><category term="updates"></category></entry><entry><title>Doing Math with Python in Python Humble Bundle</title><link href="http://doingmathwithpython.github.io/humble-bundle-python.html" rel="alternate"></link><published>2019-08-23T00:00:00+10:00</published><updated>2019-08-23T00:00:00+10:00</updated><author><name>Amit Saha</name></author><id>tag:doingmathwithpython.github.io,2019-08-23:/humble-bundle-python.html</id><summary type="html"><p class="first last">Humble bundle Python</p>
</summary><content type="html"><p>&quot;Doing Math with Python&quot; is part of No Starch Press's <a class="reference external" href="https://www.humblebundle.com/books/python-programming-no-starch-books">Python Humble Bundle</a>.
Of course, you get No Starch Press's other excellent Python books as part of the bundle. It's still on for the next 10 days!</p>
<div class="figure align-left">
<img alt="Humble Bundle" src="http://doingmathwithpython.github.io/images/python-humble-bundle.png" />
</div>
<p>Your purchases will help support the No Starch Foundation and Python Software Foundation.</p>
<p>Get the bundle <a class="reference external" href="https://www.humblebundle.com/books/python-programming-no-starch-books">here</a>.</p>
</content><category term="updates"></category></entry><entry><title>Doing Math with Python in Coder's Bookshelf Humble Bundle</title><link href="http://doingmathwithpython.github.io/humble-bundle-coders-bookshelf.html" rel="alternate"></link><published>2019-03-29T00:00:00+10:00</published><updated>2019-03-29T00:00:00+10:00</updated><author><name>Amit Saha</name></author><id>tag:doingmathwithpython.github.io,2019-03-29:/humble-bundle-coders-bookshelf.html</id><summary type="html"><p class="first last">Humble bundle</p>
</summary><content type="html"><p>&quot;Doing Math with Python&quot; is part of No Starch Press's &quot;Pay what you want&quot; <a class="reference external" href="https://www.humblebundle.com/books/coders-bookshelf-books">Coder's Bookshelf Bundle</a>.
Your purchases will help support a charity of your choice.</p>
<div class="figure align-center">
<img alt="Humble Bundle" src="http://doingmathwithpython.github.io/images/humble-bundle-3.png" />
</div>
<p>Get the bundle <a class="reference external" href="https://www.humblebundle.com/books/coders-bookshelf-books">here</a>!</p>
</content><category term="updates"></category></entry><entry><title>Doing Math with Python in Linux Geek Humble Bundle</title><link href="http://doingmathwithpython.github.io/humble-bundle-linux-geek.html" rel="alternate"></link><published>2018-07-24T13:20:00+10:00</published><updated>2018-07-24T13:20:00+10:00</updated><author><name>Amit Saha</name></author><id>tag:doingmathwithpython.github.io,2018-07-24:/humble-bundle-linux-geek.html</id><summary type="html"><p class="first last">Humble bundle</p>
</summary><content type="html"><p>&quot;Doing Math with Python&quot; is part of No Starch Press's &quot;Pay what you want&quot; <a class="reference external" href="https://www.humblebundle.com/books/linux-geek-books">Linux Geek Humble Bundle</a>
running for the next 7 days. Your purchases will help support EFF or a charity of your choice.</p>
<div class="figure align-center">
<img alt="Humble Bundle" src="http://doingmathwithpython.github.io/images/humble-bundle-2.png" />
</div>
<p>Get the bundle <a class="reference external" href="https://www.humblebundle.com/books/linux-geek-books">here</a>!</p>
</content><category term="updates"></category></entry><entry><title>Anaconda 5.0 release</title><link href="http://doingmathwithpython.github.io/anaconda-5.0.html" rel="alternate"></link><published>2017-10-29T19:50:00+10:00</published><updated>2017-10-29T19:50:00+10:00</updated><author><name>Amit Saha</name></author><id>tag:doingmathwithpython.github.io,2017-10-29:/anaconda-5.0.html</id><summary type="html"><p class="first last">Anaconda 5.0 release</p>
</summary><content type="html"><p><a class="reference external" href="https://www.anaconda.com/blog/developer-blog/announcing-the-release-of-anaconda-distribution-5-0/">Anaconda 5.0</a>
was released a few days back. I tried all the <a class="reference external" href="http://doingmathwithpython.github.io/trying-out-solutions.html">sample solutions</a>
and everything works as expected. The <a class="reference external" href="http://doingmathwithpython.github.io/pages/programs.html">chapter programs</a> should
keep working as well.</p>
<p>The versions of the relevant software in this release are:</p>
<ul class="simple">
<li>Python 3.6</li>
<li>sympy 1.1.1</li>
<li>matplotlib 2.1.0</li>
</ul>
<p>You can update your existing installation using:</p>
<pre class="code literal-block">
$ conda update conda
$ conda install anaconda=5.0
</pre>
<p>(Thanks to Dan Wolfe for informing me of the incorrect command to install <cite>anaconda=5.0</cite>)</p>
<p>A fresh installation of Anaconda 5.0 should still be similar to the <a class="reference external" href="https://doingmathwithpython.github.io/pages/software-installation.html">instructions</a>
for earlier versions.</p>
<div class="figure align-center">
<img alt="Anaconda 5" src="http://doingmathwithpython.github.io/images/anaconda-5.png" />
</div>
<div class="figure align-center">
<img alt="Anaconda 5" src="http://doingmathwithpython.github.io/images/anaconda-install-1.png" />
</div>
<div class="figure align-center">
<img alt="Anaconda 5" src="http://doingmathwithpython.github.io/images/anaconda-install-2.png" />
</div>
<div class="figure align-center">
<img alt="Anaconda 5" src="http://doingmathwithpython.github.io/images/anaconda-install-3.png" />
</div>
<p>I have so far verified both on Mac OS X and Linux. If you find any
issues on Windows, please email me at
<tt class="docutils literal">doingmathwithpython&#64;gmail.com</tt> or post your query/tip to any of the
following community forums:</p>
<ul class="simple">
<li><a class="reference external" href="https://www.facebook.com/doingmathwithpython">Facebook page</a></li>
<li><a class="reference external" href="https://plus.google.com/u/0/communities/113121562865298236232">G+ Community</a></li>
</ul>
</content><category term="updates"></category></entry><entry><title>Doing Math with Python Humble Bundle</title><link href="http://doingmathwithpython.github.io/humble-bundle.html" rel="alternate"></link><published>2017-04-06T08:20:00+10:00</published><updated>2017-04-06T08:20:00+10:00</updated><author><name>Amit Saha</name></author><id>tag:doingmathwithpython.github.io,2017-04-06:/humble-bundle.html</id><summary type="html"><p class="first last">Humble bundle</p>
</summary><content type="html"><p>No Starch Press has launched a &quot;Pay what you want&quot; <a class="reference external" href="https://www.humblebundle.com/books/python-book-bundle">Python Humble Bundle</a> running from April 5th - April 19th!
Your purchases will help support the Python Software Foundation and I am excited to announce that Doing Math with Python is part of it.</p>
<div class="figure align-center">
<img alt="Humble Bundle" src="http://doingmathwithpython.github.io/images/humble-bundle.png" />
</div>
<p>For 1+ USD you can get three books including &quot;Doing Math with Python&quot;! For 15+ USD you get nine excellent Python books!</p>
<p>Get the bundle <a class="reference external" href="https://www.humblebundle.com/books/python-book-bundle">here</a>!</p>
</content><category term="updates"></category></entry><entry><title>Video: Doing Math with Python</title><link href="http://doingmathwithpython.github.io/video-pyconau-dmwp.html" rel="alternate"></link><published>2016-08-16T12:00:00+10:00</published><updated>2016-08-16T12:00:00+10:00</updated><author><name>Amit Saha</name></author><id>tag:doingmathwithpython.github.io,2016-08-16:/video-pyconau-dmwp.html</id><summary type="html"><p class="first last">PyConAU2016</p>
</summary><content type="html"><p>I spoke at the PyCon Australia Education Seminar on August 12, 2016. The video of the talk is now up.
Thanks to Next Day Video!</p>
<div class="youtube youtube-16x9"><iframe src="https://www.youtube.com/embed/XJOt4QQgx0A" allowfullscreen seamless frameBorder="0"></iframe></div><p>The PDF slides and the demos as Jupyter Notebooks (Python 3) are <a class="reference external" href="https://github.com/doingmathwithpython/pycon-au-2016">here</a>. I have some instructions to download them and try them out. If you face any issues, or have a question, please let me know.</p>
<p>Thank you to all the PyCon Australia organizers and the Education seminar organizers for a great mini conference
and the opportunity to be a part of it.</p>
</content><category term="updates"></category></entry><entry><title>PyCon Australia 2016 Education Seminar</title><link href="http://doingmathwithpython.github.io/pycon-au-edu-summit-talk.html" rel="alternate"></link><published>2016-08-12T11:27:00+10:00</published><updated>2016-08-12T11:27:00+10:00</updated><author><name>Amit Saha</name></author><id>tag:doingmathwithpython.github.io,2016-08-12:/pycon-au-edu-summit-talk.html</id><summary type="html"><p class="first last">PyCon AU education summit talk</p>
</summary><content type="html"><p>I attended the PyCon Australia 2016 Education seminar held on 12th August at Melbourne, Australia.
I loved the energy of the seminar and was great to hear about all the ways educators in Australia are
using Python for their teaching. Here are some notes I took, which I also link with the videos. You can
find all the videos <a class="reference external" href="https://www.youtube.com/playlist?list=PLs4CJRBY5F1Jh6fFqT1p5TZRx5q06CcaR">here</a>.</p>
<div class="section" id="python-at-monash">
<h2>Python at Monash</h2>
<ul class="simple">
<li>Faculty of IT</li>
<li>Python close to pseudocode</li>
<li>Jupyter Notebooks</li>
<li>Jupyter Hub installation at Monash</li>
</ul>
</div>
<div class="section" id="keynote-smart-city-from-earth-to-mars-and-back">
<h2>Keynote: Smart City - From earth to mars and back</h2>
<ul class="simple">
<li><a class="reference external" href="https://www.youtube.com/watch?v=BZExUKogvjQ&amp;list=PLs4CJRBY5F1Jh6fFqT1p5TZRx5q06CcaR&amp;index=8">Video</a></li>
<li>Find a social mission</li>
</ul>
</div>
<div class="section" id="teaching-python">
<h2>Teaching Python</h2>
<ul class="simple">
<li><a class="reference external" href="https://www.youtube.com/watch?v=7oIwVjEVn0c&amp;list=PLs4CJRBY5F1Jh6fFqT1p5TZRx5q06CcaR&amp;index=9">Video</a></li>
<li>Teaching isn't easy</li>
<li>Programming isn't easy, it's new</li>
<li>Grok learning, interactivepython.org, coursera, codecadaemy..</li>
<li>Emphasise the fundamentals, don't assume anything, be explicit</li>
</ul>
</div>
<div class="section" id="python-with-minecraft">
<h2>Python with Minecraft</h2>
<ul class="simple">
<li><a class="reference external" href="https://www.youtube.com/watch?v=WwKkA9YV1K8&amp;list=PLs4CJRBY5F1Jh6fFqT1p5TZRx5q06CcaR&amp;index=7">Video</a></li>
<li>Get kids excited</li>
<li>Consumers to creators</li>
</ul>
</div>
<div class="section" id="micropython">
<h2>MicroPython</h2>
<ul class="simple">
<li><a class="reference external" href="https://www.youtube.com/watch?v=oCEZyJqkMrE&amp;list=PLs4CJRBY5F1Jh6fFqT1p5TZRx5q06CcaR&amp;index=6">Video</a></li>
<li>Groklearning Microbit</li>
<li><a class="reference external" href="https://groklearning.com/competition/codequest-microbit-2016/">https://groklearning.com/competition/codequest-microbit-2016/</a></li>
</ul>
</div>
<div class="section" id="teaching-geometry-using-logo-python-turtle-module">
<h2>Teaching Geometry using Logo/Python turtle module</h2>
<ul class="simple">
<li><a class="reference external" href="https://www.youtube.com/watch?v=gu3QDizt-_Y&amp;list=PLs4CJRBY5F1Jh6fFqT1p5TZRx5q06CcaR&amp;index=5">Video</a></li>
<li>Don't teach subjects in silos</li>
<li>Show students you can do real useful stuff with programming</li>
<li>Turtle powered Geometry</li>
<li>Grok learning lessons (turtle in your browser)</li>
</ul>
</div>
</content><category term="updates"></category></entry><entry><title>PyCon Australia 2016 Education Seminar: Doing Math with Python</title><link href="http://doingmathwithpython.github.io/pyconau-dmwp.html" rel="alternate"></link><published>2016-08-06T18:00:00+10:00</published><updated>2016-08-06T18:00:00+10:00</updated><author><name>Amit Saha</name></author><id>tag:doingmathwithpython.github.io,2016-08-06:/pyconau-dmwp.html</id><summary type="html"><p class="first last">PyConAU2016</p>
</summary><content type="html"><p>Hello everyone, I will be <a class="reference external" href="https://2016.pycon-au.org/schedule/83/view_talk?day=friday">speaking</a> at the PyCon AU education seminar coming August 12, 2016 at Melbourne, Australia (3.00 - 3.40 PM).</p>
<p>I have put up my in progress slides (PDF) and the demos as Jupyter Notebooks (Python 3), I plan to use during the talk on <a class="reference external" href="https://github.com/doingmathwithpython/pycon-au-2016">GitHub</a>. If you are coming along, please let me know if there is anything specific I can share and discuss.</p>
<p><strong>Links</strong></p>
<ul class="simple">
<li><a class="reference external" href="https://2016.pycon-au.org/schedule/83/view_talk?day=friday">Talk abstract</a></li>
<li><a class="reference external" href="https://github.com/doingmathwithpython/pycon-au-2016">Slides and Demos</a></li>
</ul>
</content><category term="updates"></category></entry><entry><title>O'Reilly Webcast: Doing Math with Python</title><link href="http://doingmathwithpython.github.io/oreilly-webcast-doing-math.html" rel="alternate"></link><published>2016-07-01T14:00:00+10:00</published><updated>2016-07-01T14:00:00+10:00</updated><author><name>Amit Saha</name></author><id>tag:doingmathwithpython.github.io,2016-07-01:/oreilly-webcast-doing-math.html</id><summary type="html"><p class="first last">O'Reilly Webcast</p>
</summary><content type="html"><p><strong>Updated post after the webcast</strong></p>
<p>A big thank you to all of you who turned up for the webcast across the world. I really had a great time and hope the session was informative to all of you. For those who didn't make it to the webcast, it's now available for <a class="reference external" href="http://www.oreilly.com/pub/e/3712">viewing</a>.</p>
<p>The slides, transcript and the demos are all available at the <a class="reference external" href="https://github.com/doingmathwithpython/oreilly-webcast-2016">GitHub repository</a>. Feel free to use them in any capacity you find useful. If you already have <a class="reference external" href="https://doingmathwithpython.github.io/pages/software-installation.html">Anaconda installed</a>, get the above code, and run <cite>jupyter-notebook</cite> from the same directory to be able to play with the code.</p>
<p><em>Links of Interest</em></p>
<ul class="simple">
<li><a class="reference external" href="http://www.oreilly.com/pub/e/3712">Webcast Recording</a></li>
<li><a class="reference external" href="https://github.com/doingmathwithpython/oreilly-webcast-2016">Slides, Transcript and Demos</a></li>
<li><a class="reference external" href="https://www.nostarch.com/doingmathwithpython">Doing Math with Python book</a></li>
</ul>
<p>Some of you asked a number of questions which I couldn't answer as well as I would have wanted to during the webcast, so I will make a better attempt below:</p>
<p><strong>Q: What is the difference between an interpreter, ide and text editor? And what do you recommend for beginners?</strong></p>
<p>An <tt class="docutils literal">interpreter</tt> is what runs your program. Without going into the details, the Python interpreter is what converts a statement such as <tt class="docutils literal"><span class="pre">print(&quot;Hello&quot;)</span></tt> to a form that can be understood by the computer to finally print <tt class="docutils literal">Hello</tt> on screen.
An <tt class="docutils literal">IDE</tt> or Integrated Development Environment is a software application where we can write programs and run them usually via Graphical User Interface. IDEs generally feature helpful features such as code completion and can be useful when working with large projects. A <tt class="docutils literal">text editor</tt> is for writing our programs or other text. It usually doesn't support features that an IDE would support but of course, you can configure and enhance text editors to give you IDE-like features.</p>
<p>For beginners, I recommend starting with text editors. I think that doesn't overwhelm someone who is learning with the IDE features. That said, <a class="reference external" href="https://docs.python.org/3/library/idle.html">IDLE</a> is a good in-between choice for beginners and one that I personally use in the book and definitely would be my first choice.</p>
<p><strong>Q: What library do we use for importing metric units that works well with sympy?</strong></p>
<p>I would recommend taking a look at SymPy's <a class="reference external" href="http://docs.sympy.org/dev/modules/physics/units.html#">Units</a> module and see if it has what you need. In addition, and if you already don't know about it, <a class="reference external" href="https://github.com/hgrecco/pint">pint</a> would be another library to look at.</p>
<p><strong>Q: Do you use notebook for exploratory work?</strong></p>
<p>Yes, I use notebook for exploratory work. I think notebooks are great when you want the code and result together in a single document. It's great for sharing too. I recently created <a class="reference external" href="http://echorand.me/presentation-slides-with-jupyter-notebook.html#.V3XhNe0yphE">slides</a> as a Notebook.</p>
<p><strong>Q: Can Sympy be used for the development in a engineering software (i.e. Finite Element Method)? Would the computational speed be (good)? (Not sure about the second part of the question)</strong></p>
<p>You may be interested in taking a look at <a class="reference external" href="http://sfepy.org/doc-devel/index.html">SfePy</a></p>
<p><strong>Q: Thoughts on Cython? Sagemath?</strong></p>
<p>I haven't worked much with Cython. I know about it and what it can useful for. So, I guess if you are looking for speed, definitely look into it. I would also recommend looking at <a class="reference external" href="http://numba.pydata.org/">Numba</a>. Sagemath is more of a system itself than a library. It integrates popular Python libraries and would definitely be something to explore.</p>
<p><strong>Q: Should students use IDLE or a notebook format?</strong></p>
<p>I would recommend using IDLE to start with. It gives the opportunity for the student to at least get an idea of the cycle of editing code and running it. I would only introduce notebook later and in addition to IDLE. Both have their merits, but Notebook just introduces one more thing to grasp in the beginning.</p>
<p><strong>Q: Any recommendations for introducing 3D graphics e.g. polyhedrons on screen?</strong></p>
<p>I haven't explored them, you may want to look at <a class="reference external" href="https://pi3d.github.io/html/">Pi3D</a> or <a class="reference external" href="http://vpython.org/">VPython</a>.</p>
<p><strong>Q: How well do SymPy and Numpy work together?</strong></p>
<p>No personal experience, but searching a bit, it looks like you may want to look at SymPy's <a class="reference external" href="http://docs.sympy.org/dev/modules/utilities/lambdify.html">Lambdify</a> feature. The <a class="reference external" href="https://groups.google.com/forum/#!forum/sympy">SymPy google group</a> may give you a better answer.</p>
<p><strong>Q: You are working in Jupyter - can the &quot;app&quot;s you should be embedded in a regular HTML web page?</strong></p>
<p>I haven't personally tried this. I think this <a class="reference external" href="https://jakevdp.github.io/blog/2013/12/05/static-interactive-widgets/">post</a> may give you clues to do it. O'Reilly Media's project <a class="reference external" href="https://github.com/oreillymedia/thebe">thebe</a> may be another option to look at.</p>
<p><strong>Announcement post</strong></p>
<p>I am very excited to share that I am doing a webcast this coming week with O'Reilly titled
&quot;Doing Math with Python&quot;. You can register for it on the <a class="reference external" href="http://www.oreilly.com/pub/e/3712">event page</a>.</p>
<p>Here are the date and time of the webcast:</p>
<ul class="simple">
<li>Wed, June 29th at 7 PM, San Francisco</li>
<li>Wed, June 29th at 10pm, New York</li>
<li>Thu, Jun 30th at 3am - London</li>
<li>Thu, Jun 30th at 7:30am - Mumbai</li>
<li>Thu, Jun 30th at 10am - Beijing</li>
<li>Thu, Jun 30th at 11am - Tokyo</li>
<li>Thu, Jun 30th at 12pm - Sydney</li>
</ul>
<p>I have created a <a class="reference external" href="https://github.com/doingmathwithpython/oreilly-webcast-2016">GitHub repository</a> which
will have the rough transcript, final slides and the code examples as Jupyter Notebooks.</p>
</content><category term="updates"></category></entry><entry><title>Python 2016 Education Summit Notes</title><link href="http://doingmathwithpython.github.io/education-summit-pycon-2016.html" rel="alternate"></link><published>2016-05-29T17:00:00+10:00</published><updated>2016-05-29T17:00:00+10:00</updated><author><name>Amit Saha</name></author><id>tag:doingmathwithpython.github.io,2016-05-29:/education-summit-pycon-2016.html</id><summary type="html"><p class="first last">Education Summit Summary</p>
</summary><content type="html"><p>I participated in the education summit today. My talk slides for &quot;Doing Math with Python&quot; is available <a class="reference external" href="https://doingmathwithpython.github.io/pycon-us-2016/#/">here</a>.</p>
<p>Here are some notes on the other talks I attended.</p>
<div class="section" id="keynote">
<h2>Keynote</h2>
<ul class="simple">
<li>Education WG</li>
<li>PythonZero</li>
<li>GPIO Zero</li>
<li>Network zero: <a class="reference external" href="https://github.com/tjguk/networkzero/">https://github.com/tjguk/networkzero/</a></li>
<li>Zero: based on an established package, emphasis is on up-and-running use in a classroom, Relevant error messages</li>
</ul>
<p>Micro:bit</p>
<ul class="simple">
<li>Mu, demos</li>
</ul>
</div>
<div class="section" id="lessons-learned-from-teaching-python">
<h2>Lessons learned from teaching Python</h2>
<ul class="simple">
<li>Put your work out there on the internet</li>
<li>Think about internationalization</li>
<li>Self publish Amazon's create space, Kindle</li>
<li>Quizzes, collect data, data mining</li>
<li>Instructor section</li>
<li>Online markup of code</li>
<li>EpicPen</li>
<li>YouTube channel</li>
<li>Libraries: Pygame, Arcade</li>
</ul>
</div>
<div class="section" id="pyzero">
<h2>Pyzero</h2>
<ul class="simple">
<li>Demos</li>
<li>pzrun</li>
</ul>
</div>
<div class="section" id="minecraft-with-python">
<h2>Minecraft with Python</h2>
<ul class="simple">
<li>Use Python to interact with Minecraft</li>
<li>CoderDojo Minecraft bundle</li>
<li>Using Jupyter Notebooks</li>
</ul>
</div>
<div class="section" id="pycharm-edu">
<h2>PyCharm Edu</h2>
<ul class="simple">
<li>Courses</li>
<li>Checkout PyCharm EDU for creating courses</li>
</ul>
</div>
<div class="section" id="teaching-data-structures-with-python">
<h2>Teaching data structures with Python</h2>
<ul class="simple">
<li>Python makes the teacher happy</li>
<li>Lab only</li>
<li>Algorithms in Python + C (Side by side)</li>
<li>Two languages worked well for them.</li>
<li>Low level language: easy to find the complexity of the algorithm</li>
<li>High level language: hard to find the complexity of the algorithm</li>
</ul>
</div>
<div class="section" id="merlin-for-data-science-education">
<h2>Merlin for Data Science Education</h2>
<ul class="simple">
<li>Where to even start?</li>
<li>Effort justification</li>
<li>Spending 2hr out of a 8hr session in fixing something is not worth it</li>
<li>Shouldn't be proud of battling with tool set rather than not doing the real work</li>
<li>Merlin - <a class="reference external" href="http://www.darklabsdatascience.com/project_merlin/">http://www.darklabsdatascience.com/project_merlin/</a></li>
</ul>
</div>
</content><category term="updates"></category></entry><entry><title>PyCon Education Summit Talk</title><link href="http://doingmathwithpython.github.io/pycon-edu-summit-talk.html" rel="alternate"></link><published>2016-05-26T11:27:00+10:00</published><updated>2016-05-26T11:27:00+10:00</updated><author><name>Amit Saha</name></author><id>tag:doingmathwithpython.github.io,2016-05-26:/pycon-edu-summit-talk.html</id><summary type="html"><p class="first last">PyCon education summit talk</p>
</summary><content type="html"><p>Hi everyone, I have uploaded the <a class="reference external" href="https://doingmathwithpython.github.io/pycon-us-2016/">slides</a> for my upcoming talk at the PyCon Education Summit. If you are coming to the talk, feel free to have a look at the slides and have any questions/comments ready for me.</p>
<p>The slides are made using Jupyter Notebook + nbconvert magic. Thank you to everyone who makes these things happen. You can see the slides notebook <a class="reference external" href="https://github.com/doingmathwithpython/pycon-us-2016">here</a>.</p>
<p>As a PyCon special, No Starch Press has setup a discount code <tt class="docutils literal">PYCONMATH</tt> code which will give you 30 % off my book, <a class="reference external" href="https://www.nostarch.com/doingmathwithpython">Doing Math with Python</a> and is valid from May 26th - June 8th.</p>
</content><category term="updates"></category></entry><entry><title>SymPy 1.0 and Anaconda 4.0 releases</title><link href="http://doingmathwithpython.github.io/sympy-1.0-anaconda-4.0.html" rel="alternate"></link><published>2016-04-11T19:50:00+10:00</published><updated>2016-04-11T19:50:00+10:00</updated><author><name>Amit Saha</name></author><id>tag:doingmathwithpython.github.io,2016-04-11:/sympy-1.0-anaconda-4.0.html</id><summary type="html"><p class="first last">sympy 1.0 and Anaconda 4.0</p>
</summary><content type="html"><p><a class="reference external" href="http://sympy.org">SymPy 1.0</a> was released recently and <a class="reference external" href="https://www.continuum.io/blog/developer-blog/anaconda-4-release">Anaconda 4.0</a>
was just released. I tried all the <a class="reference external" href="http://doingmathwithpython.github.io/trying-out-solutions.html">sample solutions</a>
and everything works as expected. The <a class="reference external" href="http://doingmathwithpython.github.io/pages/programs.html">chapter programs</a> should
keep working as well.</p>
<p>You can get both the updates when you install Anaconda 4.0 or updated
your existing Anaconda installation:</p>
<pre class="code literal-block">
$ conda update conda
$ conda update anaconda
</pre>
<p>I have so far verified both on Mac OS X and Linux. If you find any
issues on Windows, please email me at
<tt class="docutils literal">doingmathwithpython&#64;gmail.com</tt> or post your query/tip to any of the
following community forums:</p>
<ul class="simple">
<li><a class="reference external" href="https://www.facebook.com/doingmathwithpython">Facebook page</a></li>
<li><a class="reference external" href="https://plus.google.com/u/0/communities/113121562865298236232">G+ Community</a></li>
</ul>
</content><category term="updates"></category></entry><entry><title>What readers are saying</title><link href="http://doingmathwithpython.github.io/what-readers-are-saying.html" rel="alternate"></link><published>2016-02-14T10:00:00+10:00</published><updated>2016-02-14T10:00:00+10:00</updated><author><name>Amit Saha</name></author><id>tag:doingmathwithpython.github.io,2016-02-14:/what-readers-are-saying.html</id><summary type="html"><p class="first last">Reviews of Doing Math with Python</p>
</summary><content type="html"><p>Readers have shared how they are finding <em>Doing Math with Python</em> by
posting reviews on Amazon and their own blog. You can view all of them
on the <a class="reference external" href="http://doingmathwithpython.github.io/pages/reviews.html">Reviews</a> page.</p>
<p>Some readers have also been kind enough to let me know personally how the book
has helped them to restart their programming, or looking at something
they have been putting off. As the author, I think this is the highest
level of appreciation that I could have hoped for.</p>
<p>Recently, Aaron Meurer (the lead developer of SymPy) mentioned the
book in an <a class="reference external" href="http://pythonpodcast.com/aaron-meurer-sympy.html">episode</a> of
Podcast.__init__ titled &quot;SymPy with Aaron Meurer&quot;. If you are curious
to learn more about SymPy, I would recommend listening to it.</p>
<p>I am curious to hear more. If you want to get in touch personally,
please do so via any of the following channels:</p>
<ul class="simple">
<li><a class="reference external" href="https://www.facebook.com/doingmathwithpython">Facebook page</a></li>
<li><a class="reference external" href="https://plus.google.com/u/0/communities/113121562865298236232">G+ Community</a></li>
<li><a class="reference external" href="https://twitter.com/mathwithpython">Twitter</a></li>
</ul>
<p>You can email me at <a class="reference external" href="mailto:doingmathwithpython&#64;gmail.com">doingmathwithpython&#64;gmail.com</a>.</p>
<p>Alternatively, if you just plan to write a review, please do so on
Amazon, O'Reilly or your personal blog.</p>
</content><category term="updates"></category></entry><entry><title>Trying out the solutions in IDLE</title><link href="http://doingmathwithpython.github.io/trying-out-solutions.html" rel="alternate"></link><published>2015-11-18T08:20:00+10:00</published><updated>2015-11-18T08:20:00+10:00</updated><author><name>Amit Saha</name></author><id>tag:doingmathwithpython.github.io,2015-11-18:/trying-out-solutions.html</id><summary type="html"><p class="first last">Trying out the solutions</p>
</summary><content type="html"><p>Once you <a class="reference external" href="https://www.nostarch.com/download/doingmath_code.zip">download</a> the solutions ZIP file, and extract it you will
find the solutions for each chapter in the corresponding sub-directory.</p>
<div class="figure align-center">
<img alt="Extracted ZIP archive" src="http://doingmathwithpython.github.io/images/zip-extracted.png" />
</div>
<p>The <strong>PDF</strong> file contains explanations for each of the solutions
similar to the explanations for the programs in the book.</p>
<p>Before you can try the programs out, you will have to open them first in IDLE.
Let's consider the solution to a challenge posed in Chapter 6 to draw
the Mandelbrot set - <tt class="docutils literal">mandelbrot.py</tt>. Start <tt class="docutils literal">IDLE</tt> and click on the menu item <tt class="docutils literal">File &gt;
Open</tt> and navigate to the location where you extracted the directory
above and open the file <tt class="docutils literal">mandelbrot.py</tt>.</p>
<div class="figure align-center">
<img alt="IDLE window" src="http://doingmathwithpython.github.io/images/idle-1.png" />
<p class="caption">Snapshot of the source code</p>
</div>
<div class="section" id="running-the-program">
<h2>Running the program</h2>
<p>To run the program, click on <tt class="docutils literal">Run &gt; Run Module</tt> and you should see
the Mandelbrot set in the matplotlib window.</p>
<div class="figure align-center">
<img alt="Mandelbrot Set" src="http://doingmathwithpython.github.io/images/idle-2.png" />
<p class="caption">Mandelbrot set</p>
</div>
<p>All the solutions should be ready to run, try them out, make changes
to experiment and let me know what you come up with!</p>
<p>Email me at <tt class="docutils literal">doingmathwithpython&#64;gmail.com</tt> or post your query/tip to any of the
following community forums:</p>
<ul class="simple">
<li><a class="reference external" href="https://www.facebook.com/doingmathwithpython">Facebook page</a></li>
<li><a class="reference external" href="https://plus.google.com/u/0/communities/113121562865298236232">G+ Community</a></li>
</ul>
</div>
</content><category term="updates"></category></entry><entry><title>Chapter code and Errata</title><link href="http://doingmathwithpython.github.io/chapter-code-errata.html" rel="alternate"></link><published>2015-09-11T08:20:00+10:00</published><updated>2015-09-11T08:20:00+10:00</updated><author><name>Amit Saha</name></author><id>tag:doingmathwithpython.github.io,2015-09-11:/chapter-code-errata.html</id><summary type="html"><p class="first last">Chapter code and errata</p>
</summary><content type="html"><p>You can find the chapter programs and snippets linked from the <a class="reference external" href="http://doingmathwithpython.github.io/pages/programs.html">programs</a> page. They should be free
from any error mentioned on the <a class="reference external" href="http://doingmathwithpython.github.io/pages/errata.html">errata</a> page.</p>
<div class="section" id="stay-in-touch">
<h2>Stay in touch</h2>
<p>You can stay connected with the book, its readers and me via the
following channels:</p>
<ul class="simple">
<li><a class="reference external" href="https://www.facebook.com/doingmathwithpython">Facebook page</a></li>
<li><a class="reference external" href="https://plus.google.com/u/0/communities/113121562865298236232">G+ Community</a></li>
<li><a class="reference external" href="https://twitter.com/mathwithpython">Twitter</a></li>
</ul>
<p>You can contact me directly via:</p>
<ul class="simple">
<li>Twitter: <a class="reference external" href="https://twitter.com/mathwithpython">&#64;mathwithpython</a></li>
<li>Email : <a class="reference external" href="mailto:doingmathwithpython&#64;gmail.com">doingmathwithpython&#64;gmail.com</a></li>
</ul>
</div>
</content><category term="updates"></category></entry><entry><title>Doing Math with Python Available now!</title><link href="http://doingmathwithpython.github.io/available-now.html" rel="alternate"></link><published>2015-09-02T08:00:00+10:00</published><updated>2015-09-02T08:00:00+10:00</updated><author><name>Amit Saha</name></author><id>tag:doingmathwithpython.github.io,2015-09-02:/available-now.html</id><summary type="html"><p class="first last">Available now!</p>
</summary><content type="html"><p>Hi all, I am very excited to announce that the book is now available for
purchase in print and electronic formats from various online stores
including <a class="reference external" href="http://www.amazon.com/Doing-Math-Python-Programming-Statistics/dp/1593276400">Amazon</a>
and <a class="reference external" href="https://www.nostarch.com/doingmathwithpython">No Starch Press</a>.
Please see the <a class="reference external" href="http://doingmathwithpython.github.io/pages/buy.html">Buy</a> page for others.</p>
<a class="reference external image-reference" href="http://www.nostarch.com/doingmathwithpython"><img alt="Book cover" class="align-center" src="http://doingmathwithpython.github.io/images/cover.png" /></a>
<p>If you are keen to take a look at the contents and read a sample
chapter, please head over to <a class="reference external" href="https://www.nostarch.com/doingmathwithpython">No Starch's book page</a>.</p>
<p>Alternatively, if you are keen to recieve a review copy, please email
<cite>doingmathwithpython&#64;gmail.com</cite> and I will try to request one from the
publishers.</p>
<div class="section" id="stay-in-touch">
<h2>Stay in touch</h2>
<p>You can stay connected with the book, its readers and me via the
following channels:</p>
<ul class="simple">
<li><a class="reference external" href="https://www.facebook.com/doingmathwithpython">Facebook page</a></li>
<li><a class="reference external" href="https://plus.google.com/u/0/communities/113121562865298236232">G+ Community</a></li>
<li><a class="reference external" href="https://twitter.com/mathwithpython">Twitter</a></li>
</ul>
<p>You can contact me directly via:</p>
<ul class="simple">
<li>Twitter: <a class="reference external" href="https://twitter.com/mathwithpython">&#64;mathwithpython</a></li>
<li>Email : <a class="reference external" href="mailto:doingmathwithpython&#64;gmail.com">doingmathwithpython&#64;gmail.com</a></li>
</ul>
</div>
</content><category term="updates"></category></entry><entry><title>All chapters completed, off to the printers</title><link href="http://doingmathwithpython.github.io/off-to-printers.html" rel="alternate"></link><published>2015-08-15T23:27:00+10:00</published><updated>2015-08-15T23:27:00+10:00</updated><author><name>Amit Saha</name></author><id>tag:doingmathwithpython.github.io,2015-08-15:/off-to-printers.html</id><summary type="html"><p class="first last">off to printers!</p>
</summary><content type="html"><p>I am very excited to write that all the chapters has been completed
and the book is currently with the printers! You can find out more
about the contents (including a detailed table of contents) from the
<a class="reference external" href="http://doingmathwithpython.github.io/pages/about.html">About</a> page.</p>
<p>You can stay connected with the book, its readers and me via the
following channels:</p>
<ul class="simple">
<li><a class="reference external" href="https://www.facebook.com/doingmathwithpython">Facebook page</a></li>
<li><a class="reference external" href="https://plus.google.com/u/0/communities/113121562865298236232">G+ Community</a></li>
<li><a class="reference external" href="https://twitter.com/mathwithpython">Twitter</a></li>
</ul>
</content><category term="updates"></category></entry><entry><title>Introduction to "Doing Math with Python"</title><link href="http://doingmathwithpython.github.io/hello-world.html" rel="alternate"></link><published>2015-05-24T23:27:00+10:00</published><updated>2015-05-24T23:27:00+10:00</updated><author><name>Amit Saha</name></author><id>tag:doingmathwithpython.github.io,2015-05-24:/hello-world.html</id><summary type="html"><p class="first last">Hello World</p>
</summary><content type="html"><p>Hi all, this is the blog for my book &quot;Doing Math with Python&quot;.</p>
<a class="reference external image-reference" href="http://www.nostarch.com/doingmathwithpython"><img alt="Book cover" class="align-center" src="http://doingmathwithpython.github.io/images/cover.png" /></a>
<p>The first six chapters of the book are already available via the
publisher's early access program. You can learn briefly about each
chapter on the <a class="reference external" href="http://doingmathwithpython.github.io/pages/about.html">About</a> page.
Going forward, I will be sharing updates regarding the book and posting
original content related to that discussed in the book.</p>
<p>You can stay connected with the book, its readers and me via the
following channels:</p>
<ul class="simple">
<li><a class="reference external" href="https://www.facebook.com/doingmathwithpython">Facebook page</a></li>
<li><a class="reference external" href="https://plus.google.com/u/0/communities/113121562865298236232">G+ Community</a></li>
<li><a class="reference external" href="https://twitter.com/mathwithpython">Twitter</a></li>
</ul>
</content><category term="updates"></category></entry></feed>