Python from Scratch
I hadn’t posted anything since the end of 2024. But I have a good reason for this. I was working on translating my book into English. I finally finished it in May, but since then, I have been working to sell and promote the book. Naively, I thought the writing and translating parts were the most difficult.
The original version of the book was written in 2010, but I had started writing it long before. Since then, I have updated the book, and the Brazilian version is already in its fourth edition.
Over time, I added new chapters to address SQL, Regular Expressions, and TkInter, but most importantly, I rewrote the first chapters, which are dedicated to absolute beginners. I added charts, examples, and exercises to support the initiation into programming. More advanced content was also added, including details on dunder methods, Python’s new syntax, the match operator, the walrus operator, as well as generators and aspects of functional programming. But after all these years, the English version was missing. As I don’t live in Brazil and most of the world do not speak Portuguese, it was always missing something to reach a wider audience.
The book was one of the first ones to use Python 3.1 (2010), and I paid the price; it was heavily criticized at the time. However, now it covers Python 3.13, and Python 2.7 is finally obsolete. The community didn’t universally appreciate the use of accents and code in Portuguese. Still, the book was written to help beginners learn how to program, not to cater to those who already have programming knowledge. I wanted to make the learning journey easier, and the book does precisely that. The English version had no issues with accents. Still, I had to update and translate more regional examples, which required being Brazilian to understand, and also add a few notes about the metric system and date formats to make the content accessible to our American readers.
The book is available worldwide on Amazon. The English version is also available in e-book (Kindle) and hardcover. Amazon helps with printing the book in multiple countries, so I don’t have to handle imports or stocks. You buy, and they send you a freshly printed copy in the format you want. If you’d like to check it out at an Amazon location near you, please click on the banner at the top of this page. The book’s website is located at https://pythonfromscratch.com, where you can find exercises, listings, and contact information. I’m still adding downloadable goods, such as exercise lists, but the same content is already available online and will soon be available in PDF format.
I would not be able to do all this work on my own. My Brazilian publisher, Editora Novatec, provided significant assistance, giving me the necessary encouragement to complete the translation and supporting me with the book formatting. My family, especially my wife and daughter, worked multiple days reviewing and correcting minor errors, markings, and verifying details such as numbering. I also hired professional native proofreaders to ensure the highest quality. And, of course, to all readers of the Brazilian edition, for providing feedback, which I used to improve and keep the book updated.
I hope you like the English version of the book; it covers a teaching style that I was missing for Python. It is a more traditional course, but this approach was lacking, and I hope some people will take advantage of and enjoy this approach. I would love to hear your feedback. Please do not hesitate to contact me; all details are provided in the book itself.