We can make the computer speak with Python. Given a text string, it will speak the written words in the English language. This process is called Text To Speech or shortly TTS. (more…)
Read more »
A better Python REPL. Contribute to prompt-toolkit/ptpython development by creating an account on GitHub. (more…)
Read more »
Today, I wanted to create a basic locking mechanism in Python to prevent certain commands/functions from running concurrently.
I have an script that runs inside of a CI/CD pipeline but it can also be triggered manually. The problem is that certain command... (more…)
Read more »
“Python is about having the simplest, dumbest compiler imaginable.”
—Guido van Rossum, Masterminds of Programming... (more…)
Read more »
There's no two ways about it, Python is slow. I felt this in particular when exploring how to sanitize potentially malicious HTML content in the CTFd content editor. The two options for sanitizing/processing HTML in Python both have some tradeoffs: Poorl... (more…)
Read more »