Al Sweigart
alsweigart.bsky.social
Al Sweigart
@alsweigart.bsky.social
Author of "Automate the Boring Stuff with Python" and other books. Mostly harmless. he/him
David Graeber escreveu "Bullshit Jobs" em 2018. pt.wikipedia.org/wiki/David_G...
November 3, 2025 at 3:06 PM
It's important to recognize the purple/blue gradient text of AI-generated web apps so you can have an appropriate level of skepticism:
November 2, 2025 at 4:54 PM
The Grapes of Wrath was published in 1939.
November 2, 2025 at 1:09 AM
Grocery stores throw out far more food than is shoplifted.

"Why don't shoplifters just take the food from the dumpster then?"

Because they have cameras on the dumpsters and security will be sent out when they see them on the monitors.

This isn't new. Grapes of Wrath was published in 1939:
November 2, 2025 at 1:03 AM
Asking people to cancel their Washington Post subscription is not an extreme position. Abolishing ICE and closing down Guantanamo Bay is not an extreme position. Ostracizing the guy with the Nazi tattoo on his chest from the Democratic Party is not an extreme position.
October 26, 2025 at 2:37 AM
October 22, 2025 at 5:31 PM
A person with a Nazi tattoo on their chest is 1) a bad person and 2) not a good person.

Make racists afraid again. The only thing they should be running for is their goddamn lives.
October 21, 2025 at 7:36 PM
Yes they are French. Here's a photo of Grandma Sweigart wearing them.
October 21, 2025 at 12:42 AM
Ten years ago today: 'I never thought leopards would eat MY face,' sobs woman who voted for the Leopards Eating People's Faces Party.
October 16, 2025 at 7:07 PM
I've finished a presentable version of ButtonPad, but simple GUI framework for Python desktop apps. Built on tkinter so it has no major dependencies, it lets you make a grid of buttons/labels/images/text boxes (like a streamdeck or drum machine). pypi.org/project/Butt...
October 14, 2025 at 6:31 PM
Copilot seems to have stopped working in the last few days? Now it won't even enable the Accept/Keep buttons after it applies its suggestions. Have people seen this before?
October 12, 2025 at 7:45 PM
I vibe-coded a GUI toolkit in Python. The LLM seems really, uh, cautious with all these try/except statements. The source file is full of stuff like this: Catch an exception and print an error message, and catch any exceptions that might happen while printing the error message.
October 12, 2025 at 6:57 PM
I was playing around with AI art to generate those mindless "corporate memphis" style graphics. When I asked it to turn it into a photorealistic drawing, the man and woman turned argumentative, the other woman obviously doesn't want to be there, and the black guy was cropped out almost entirely.
October 9, 2025 at 3:14 PM
My first test of the Grok Code Fast 1 model for AI-assisted coding... did not go well.
October 9, 2025 at 2:15 AM
I've come up with a new game. I ask AI to create an image of some Python code, and you point out all the mistakes in it:
October 7, 2025 at 11:42 PM
Annie Lowrey, wife of Ezra Klein, gets an Atlantic Cuomo-apologist hit piece (with a scary illustration) against Zohran Mamdani, and is against ranked choice voting.

"Liberals" like this are why Trump wins. They'll throw aay "vote blue no matter who" and even democracy to stop progressives.
October 7, 2025 at 5:33 PM
October 6, 2025 at 3:51 PM
Ha! I only made the same realization just after I posted it, and then made an update:

(And yes, I wrote up an alt tag.)
September 30, 2025 at 5:35 PM
September 30, 2025 at 3:59 PM
September 30, 2025 at 2:26 PM
I made a Rock Paper Scissors arena simulator in Python. Blog post: inventwithpython.com/blog/rps-are...
September 26, 2025 at 5:38 PM
This comic by Matt Bors came out in 2018.
September 25, 2025 at 8:30 PM
When you don't have a union, your boss can force you to dress in a cardboard robot costume, and then tell the customer they use AI while taking away your bathroom breaks.
September 25, 2025 at 8:19 PM
Obligatory Jean-Paul Sartre quote:
September 25, 2025 at 8:09 PM
September 23, 2025 at 5:59 PM