How can you set Blender's Theme Preset with python
I found a way but I don't know it is right or wrong to do this way
The way I did is -
In the dropdown menu of themes just right click on the theme you want to change to and then another menu will appear &gt; click on copy python command &gt; and then paste that command in the console &gt; and if you want to change the theme from the console you need to remember the theme name &gt; you can change the name in the command where the file name is written (maya.xml, or modo.xml, etc).
Step 1-

Step 2-

Step 3-

Step 4-

Step 5-

Step 6 -

And in this way, you can change the theme from the console