Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import _winreg
- qcma = _winreg.OpenKey(_winreg.HKEY_CURRENT_USER,"Software\codestation\qcma")
- path = _winreg.QueryValueEx(qcma, "appsPath")
- print "CMA Dir: " + path[0]
- text_file = open("cmadir.txt", "w+")
- text_file.write(path[0])
- text_file.close()
- save as test.py >_<
Advertisement
Add Comment
Please, Sign In to add comment