I am looking for a piece of code Python code that would give me the path to IntelliJ IDEA or PyCharm exe if they are installed.
Usually, I would want to detect the same for Eclipse but it seems that Eclipse doesn't have an installer :(
The installation path is stored in the registry: HKEY_CURRENT_USER\\JetBrains\\IntelliJ IDEA\\<build number>\\(Default)
(replace IntelliJ IDEA with PyCharm if you need the PyCharm installation path)
You can use the _winreg module to read the registry and retrieve the path.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.