I have created a selenium automation code and I wanna share it with my friends, I want to make it fully automated, so I made a setup.py file that will automatically install all pip requirements. I want to make something like a .bat file which will install python in windows by just double-clicking on it. Is it even possible? Thanks :)
Update: The possible solution that I found
I was unable to find a way to Download python using just CMD but if you have python.exe in your system then you can use the below Method to install it (you can also make .bat file to automate it.)
Install the python.exe file on your computer from the official site.
Open CMD and change Your directory to the path where you have python.exe
Past this code in your Command prompt make sure to change the name with your file version In the below code(e.g python-3.8.5.exe)
python-3.6.0.exe /quiet InstallAllUsers=1 PrependPath=1 Include_test=0
It will also set the path Variables.