I wanted to boot my Raspberry Pi 4 from an external SSD connected via a USB-to-SATA cable. According to Jeff Geerling's video, it's pretty straightforward using the latest version of the firmware - but try as I might I couldn't get it to start. Tried re-imaging the SSD; also used the SD card copi...
Continue reading...Breaking out of loops
Sherry W writes (excerpted):
Continue reading...Excellent book so far for my grandson.
On page 78 should it read?:
while True:
lots of code here
lots of code here
lots of code here
if some value == False
breakBook is written very well for that age group. It’s great to h...
Tkinter colorchooser problems (revisited)
Suranga writes:
Continue reading...My son and I have been learning Python with your great book. Unfortunately, we hit an issue with Colorchooser - the problem appears identical to this one: https://jasonrbriggs.com/journal/2013/05/01/tkinter-colorchooser-problems.html In the solution, you suggest we revisit Ch...
Top Few
I was reading Tim Bray's recent blog posts (here and here) about his Topfew utility with interest, and wondered how my go-to systems programming language (Nim) stacks up compared to Go. I knocked up a quick and dirty implementation and then ran against a 900MB access_log from my own site...
Continue reading...
Problem with bouncing ball
Lennier M writes:
Continue reading...I am on page 202 of your book, but when I followed your instructions, the ball stopped moving, instead of moving in multiple directions. Here is my code:
class Ball:
def __init__(self, canvas, color):
self.canvas = canvas
self.id = canvas.create_oval(...
Long and short dashes
Jan vK writes:
here’s an example from your book that gives an error: count_down_by_twos = list(range(40, 10, −2)) SyntaxError: invalid character in identifier please inform me how to solve this problem
It looks like you might have copied-and-pasted the code? Perhaps from the digital version...
Continue reading...
Problems with restarting the game
Serhii writes (excerpted from two emails):
I teach programming lessons for the pupils. We try to do restart button for the “Bounce” as it follows: jasonrbriggs.com/journal/2014/09/03/restarting-the-game.html ...there is a problem in “command=restart”.
If I run your code I get the followi...
Continue reading...IDLE3 on Ubuntu
Chris K writes (excerpted):
Continue reading...I'm teaching myself and home educating my three young daughters at the same time. Just a little bit every day (excepting Sunday which is entirely reserved for pancakes and not inter-computery-things) . Thank you for providing the opportunity for me to introduce the ...
Not the normal knock off
Usually on Amazon, we see Python for Kids knock-offs which are an exact copy of the book, with cruddy printing and/or binding. No Starch have a clever binding which allows books to open flat, without falling apart after reading a couple of chapters (clever enough that a few people thought it was...
Continue reading...String Formatting
Lou O writes:
Continue reading...Hi Jason, Read a few good reviews of your book on Amazon. One of the reviews pointed out “The explanation of String formatting needs to be updated. We don’t do embedded values using %s anymore. I recommend skipping the chapters on Turtle Graphics and tkinter. The introductory...