Code With Alex · @code_with_alex

Posted 3 days ago
31.22K followers
2.61K views
113 likes
1 comments
7 shares

Making Python Errors Look Like ChatGPT #python #coding #programming  In this video, we catch an error in Python and typewrite its output to the console, so it feels just like watching ChatGPT type out an answer, right before you realize it's wrong. We use the sys stdout function, catch the error with a try except block, and print the result in typewriter format to the console.