There are ways to get the location of the stata binary by calling the winreg package and looking for some keys. There is an example here for instance:
https://github.com/sergiocorreia/StataEditor/blob/master/StataEditorPlugin.py#L507
It's not perfect but it works quite well for Stata 12-14
There are ways to get the location of the stata binary by calling the
winregpackage and looking for some keys. There is an example here for instance:https://github.com/sergiocorreia/StataEditor/blob/master/StataEditorPlugin.py#L507
It's not perfect but it works quite well for Stata 12-14