Is there any ways to download a software and install using python code. means I just wanted to write a piece of code in python that takes software installer file link, and it download the file and install in my windows without intervention.
import somthing
# for example I am taking link for notepad++
url = "https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.2/npp.8.2.Installer.x64.exe"
def downloadFile(url):
.
.
.
return softwarefile
def installingSoftware(softwarefile):
.
.
return "software installed successfully"
software = downloadFile(url)
installingSoftware(software)
is it possible ?
1