{"id":437,"date":"2023-12-26T19:52:26","date_gmt":"2023-12-26T19:52:26","guid":{"rendered":"https:\/\/greenteapress.com\/wp\/?page_id=437"},"modified":"2026-01-17T22:41:39","modified_gmt":"2026-01-17T22:41:39","slug":"think-python-3rd-edition","status":"publish","type":"page","link":"https:\/\/greenteapress.com\/wp\/think-python-3rd-edition\/","title":{"rendered":"Think Python"},"content":{"rendered":"\n<p>by Allen B. Downey<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"762\" height=\"1000\" src=\"https:\/\/greenteapress.com\/wp\/wp-content\/uploads\/2024\/09\/think_python_3e.jpg\" alt=\"\" class=\"wp-image-547\" style=\"width:251px;height:auto\" srcset=\"https:\/\/greenteapress.com\/wp\/wp-content\/uploads\/2024\/09\/think_python_3e.jpg 762w, https:\/\/greenteapress.com\/wp\/wp-content\/uploads\/2024\/09\/think_python_3e-229x300.jpg 229w, https:\/\/greenteapress.com\/wp\/wp-content\/uploads\/2024\/09\/think_python_3e-350x459.jpg 350w\" sizes=\"auto, (max-width: 762px) 100vw, 762px\" \/><\/figure>\n<\/div>\n\n\n<p>Think Python is available from <a href=\"https:\/\/bookshop.org\/a\/98697\/9781098155438\">Bookshop.org<\/a> and <a href=\"https:\/\/amzn.to\/3XPO2xl\">Amazon<\/a> (affiliate links).<\/p>\n\n\n\n<p>If you are enjoying the free online version, please consider <a href=\"https:\/\/buymeacoffee.com\/allendowney\">buying me a coffee<\/a>.<\/p>\n\n\n\n<p><a href=\"https:\/\/allendowney.github.io\/ThinkPython\/\">Or read the online version of the book here<\/a>. If you are enjoying the free version, please consider <a href=\"https:\/\/buymeacoffee.com\/allendowney\">buying me a coffee<\/a>.<\/p>\n\n\n\n<p>Supporting code and Jupyter notebooks are in <a href=\"https:\/\/github.com\/AllenDowney\/ThinkPython\/tree\/v3\">this GitHub repository<\/a>.<\/p>\n\n\n\n<p><a href=\"https:\/\/greenteapress.com\/wp\/think-python-2e\/\">The second edition is here<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Description<\/h2>\n\n\n\n<p><a href=\"http:\/\/amzn.to\/1WmXPCx\"><\/a><em>Think Python<\/em> is an introduction to Python programming for beginners. It starts with basic concepts of programming; it is carefully designed to define all terms when they are first used and to develop each new concept in a logical progression. Larger pieces, like recursion and object-oriented programming, are divided into a sequence of smaller steps and introduced over the course of several chapters.<\/p>\n\n\n\n<p><strong>What&#8217;s new in the third edition?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Each chapter of the book is a Jupyter notebook, so you can read the text, run the code, and work on the exercises, all in one place. And the notebooks run on Colab, so you don&#8217;t have to install anything to get started.<\/li>\n\n\n\n<li>Every chapter includes guidance for using AI tools like ChatGPT to accelerate learning.<\/li>\n\n\n\n<li>The new edition covers several new topics, including regular expressions and automated testing with doctest and unittest.<\/li>\n\n\n\n<li>And it includes more and better exercises.<\/li>\n<\/ul>\n\n\n\n<p><em>Think Python<\/em> is a Free Book. It is available under the Attribution-NonCommercial-ShareAlike 4.0 International, which means that you are free to copy, distribute, and modify it, as long as you attribute the original work, make your modified version available under a compatible license, and don&#8217;t use it for commercial purposes.<\/p>\n\n\n\n<p>If you have comments, <strong>corrections<\/strong> or suggestions, please send me email at feedback{at}thinkpython{dot}com.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Translations<\/h3>\n\n\n\n<p>A German translation is <a href=\"https:\/\/www.amazon.com\/Python-lernen-KI-Tools-Programmierung-KI-Unterst%C3%BCtzung-ebook\/dp\/B0DFGGR77W\">available here<\/a><\/p>\n\n\n\n<p>A Vietnamese translation is <a href=\"https:\/\/bitbucket.org\/tanhuynhng\/thinking-python\">available here<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Earlier Versions<\/h3>\n\n\n\n<p>The second and third editions use Python 3. &nbsp;If you are using Python 2, you might want to use the first edition, <a href=\"http:\/\/greenteapress.com\/thinkpython\/index.html\">which is here<\/a>.<\/p>\n\n\n\n<p>A previous edition of this book was published by Cambridge University press with the title <a href=\"http:\/\/greenteapress.com\/thinkpython2\/pythonsd.html\"><em>Python for Software Design<\/em><\/a>. This edition is <a href=\"http:\/\/amzn.to\/I6bk1d\">available from Amazon.com<\/a>.<\/p>\n\n\n\n<p>The original Python version of the book was published by <a href=\"http:\/\/greenteapress.com\/\">Green Tea Press<\/a>&nbsp;with the title <a href=\"http:\/\/greenteapress.com\/thinkpython2\/thinkCSpy\/index.html\"><em>How to Think Like a Computer Scientist: Learning with Python<\/em><\/a>. This edition is available from from <a href=\"http:\/\/www.lulu.com\/content\/3126674\">Lulu.com<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>by Allen B. Downey Think Python is available from Bookshop.org and Amazon (affiliate links). If you are enjoying the free online version, please consider buying me a coffee. Or read the online version of the book here. If you are enjoying the free version, please consider buying me a coffee. Supporting code and Jupyter notebooks &hellip; <a href=\"https:\/\/greenteapress.com\/wp\/think-python-3rd-edition\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Think Python<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-437","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/greenteapress.com\/wp\/wp-json\/wp\/v2\/pages\/437","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greenteapress.com\/wp\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/greenteapress.com\/wp\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/greenteapress.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/greenteapress.com\/wp\/wp-json\/wp\/v2\/comments?post=437"}],"version-history":[{"count":10,"href":"https:\/\/greenteapress.com\/wp\/wp-json\/wp\/v2\/pages\/437\/revisions"}],"predecessor-version":[{"id":624,"href":"https:\/\/greenteapress.com\/wp\/wp-json\/wp\/v2\/pages\/437\/revisions\/624"}],"wp:attachment":[{"href":"https:\/\/greenteapress.com\/wp\/wp-json\/wp\/v2\/media?parent=437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}