pythonwinreg

How to check if a program is downloaded (Python)


I am making a program in Python which I'll send to other people in our company. The aim of the program is to show which programs are downloaded and not from a list. The problem is that the program is not installed in the same place on every device.

How can I check if a program is downloaded or not?


Solution

  • only found this:

    import os    
    os.path.exists(c:\.......)