I Like Al Sweigart's Books, What Can I Read to Get Into Game Programming?
Fri 18 February 2022 Al Sweigart
Writings from the author of Automate the Boring Stuff.
Fri 18 February 2022 Al Sweigart
Thu 03 February 2022 Al Sweigart
You don't need to buy a new computer to learn programming. It's a common misconception that you need a powerful computer to program. This guide will give you some hints to guide you in the right direction.
Thu 13 January 2022 Al Sweigart
Mark H. Liu’s “Make Python Talk” is a solid book for anyone who wants to leverage the power of the Python programming language to add speech capabilities to their programs. The chapters cover third-party libraries for speech recognition and text-to-speech in an engaging way.
Thu 13 January 2022 Al Sweigart
Serious Python by Julien Danjou is an excellent book for those who have gone through the "hello world" tutorials or those coming to Python from other programming languages, and want a book that teaches you not just how to write code, but how to write code the pythonic way.
Thu 13 January 2022 Al Sweigart
Writing for an intermediate audience is hard, but Ken Youens-Clark has nailed it with Tiny Python Projects. This is a great book for those who have dabbled with a few beginner Python tutorials but still feel like they don't "get" programming. The projects in this book are short and simple; perfect for beginners who want to get experience with actual programs instead of just code snippets.
Tue 28 December 2021 Al Sweigart
This blog post examines different ways that Python lists and dictionaries can be used to represent a 2D data structure. I also write some test programs to measure the performance of each data structure.
Mon 27 December 2021 Al Sweigart
Here's a hint for programmers writing their resumes: "JavaScript" is spelled as one word, capital-J, capital-S, and no hyphen. But this isn't a blog post about programmers who make typos on their resumes, but about what a minefield of low-quality programming books that Amazon has become.
Mon 20 December 2021 Al Sweigart
Python has a more concise syntax that uses the in
operator and the multiple values packaged in a tuple. To check if one of multiple variables is one of many values, you can use a list comprehension and the any()
function.
Sun 07 November 2021 Al Sweigart
I was one of those kids in the 90s who taught themselves how to code by making video games in the BASIC programming language. Later, I majored in computer science, moved to Silicon Valley, became a software engineer, started writing programming books including Automate the Boring Stuff with Python, and then quit my job to write full-time. I now wake up whenever I want and work from home or nearby cafes. I'm financially secure while being my own boss.
This is a completely true story.*
Mon 04 October 2021 Al Sweigart
Here are 22 actual, runnable Python code for several recursive functions, written in a style to be understandable by beginners and produce debuggable output.
Fri 24 September 2021 Al Sweigart
range()
function.
Sun 05 September 2021 Al Sweigart
Sat 28 August 2021 Al Sweigart
Mon 02 August 2021 Al Sweigart
I created the bitfielddraw
Python module so that you could turn math formulas into .png image files.
Sat 10 July 2021 Al Sweigart
The Charisma Machine by Morgan G. Ames is the cautionary tale everyone in tech should read. Five stars.
Sat 03 July 2021 Al Sweigart
itertools
module already exists. Includes working code examples.
Sat 26 June 2021 Al Sweigart
My new book, The Big Book of Small Python Projects, is now available from No Starch Press. It's free to read online under a Creative Commons license. This book contains 81 small but complete programming projects written in Python. These projects are designed to help new programmers who have learned the basics see what real programs "look like". These aren't code snippets, but actual, full programs that you can run. At the same time, they are small enough so that their source code is easy to understand.
Sun 07 March 2021 Al Sweigart
In March 2020, just before the lockdowns would begin, I gave the opening keynote at PyTennessee 2020. Unfortunately, it wasn't recorded. But I still have the script I used and so I re-recorded the talk. I've posted it to my YouTube channel.
Sat 06 March 2021 Al Sweigart
Mon 11 January 2021 Al Sweigart
Extracting text as string values from images is called optical character recognition (OCR) or simply text recognition. This blog post tells you how to run the Tesseract OCR engine from Python. Includes working code examples.