Comment créer un fichier à l'aide de la commande python cat

import os
os.system("cat > brightness_control_in_python.py")
#if this error comes no worries your file is already created
'cat' is not recognized as an internal or external command,
operable program or batch file.
#take a look in your folder where you make python files you will find your file
#created there
Programmer of empires