This is the Arduino Uno form factor and compatible board from Adafruit, the Metro M4 Express.
It is more powerful, has nice additions, such as on/off switch and a Neopixel, but even better it runs Python.
Just plug it in and write your Python text file right to the external drive that appears.