WARNING: USE AT YOUR OWN RISK.
Create a folder on any disk, for example, D:\python_scripts
and add that folder to the system environment variable path. create new file eg: 'xampp.py' in that folder.
paste this code and rename the xampp_path
variable to the path where you have installed xampp.
import subprocess
import os
import time