So what I basically am trying to make is a program that asks user for file and displays absolute path of the program. For eg. If user enters 'Spotify' then I want to locate spotify.exe on the pc if It exists and print its absolute path.
I wanted to make this for a personal assistant that I am working on.
I previously tried
os.system(input + '.exe')
but taking the eg of spotify only...it is not an internal file that will be recognised….please help.