Open sergiocorreia opened 8 years ago
Thanks, that is a great suggestion. I was already playing with the idea of including the ability to automatically register a Stata installation for a given path, combining this with that snippet would essentially automate most of the configuration process. I will put it on my to-do list.
This function autodetects the Stata path on Windows.
The StataEditor function seemed old and didn't work on my Windows 10 VM
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